Browse Source

fix: shadowsocks server port

Tokumeikoi 4 years ago
parent
commit
87a9f6727b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Controllers/Server/ShadowsocksTidalabController.php

+ 1 - 1
app/Http/Controllers/Server/ShadowsocksTidalabController.php

@@ -47,7 +47,7 @@ class ShadowsocksTidalabController extends Controller
         foreach ($users as $user) {
             array_push($result, [
                 'id' => $user->id,
-                'port' => $server->port,
+                'port' => $server->server_port,
                 'cipher' => $server->cipher,
                 'secret' => $user->uuid
             ]);