feat(assist-server): changed default port
This commit is contained in:
parent
77ae0cac0e
commit
cbbd480cca
2 changed files with 2 additions and 2 deletions
|
|
@ -53,7 +53,7 @@ io.engine.on("headers", (headers) => {
|
|||
setSocketIOServer(io);
|
||||
|
||||
const HOST = process.env.LISTEN_HOST || '0.0.0.0';
|
||||
const PORT = process.env.PORT || 3000;
|
||||
const PORT = parseInt(process.env.PORT) || 9001;
|
||||
app.listen(PORT, (token) => {
|
||||
if (token) {
|
||||
console.log(`Server running at http://${HOST}:${PORT}`);
|
||||
|
|
|
|||
|
|
@ -52,5 +52,5 @@ spec:
|
|||
name: {{ $fullName }}
|
||||
port:
|
||||
number: {{ $socketioSvcPort }}
|
||||
path: /ws-assist/(.*)
|
||||
path: /ws-assist-server/(.*)
|
||||
{{- end }}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue