diff --git a/.env.example b/.env.example index 7d708ff..92ad2a2 100644 --- a/.env.example +++ b/.env.example @@ -3,3 +3,5 @@ DATABASE_URL="postgres://drop:drop@127.0.0.1:5432/drop" GIANT_BOMB_API_KEY="" EXTERNAL_URL="http://localhost:3000" + +NUXT_PORT=4000 diff --git a/Dockerfile b/Dockerfile index fdfdaea..92506f1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -68,5 +68,6 @@ COPY --from=torrential-build /build/target/release/torrential /usr/bin/ ENV LIBRARY="/library" ENV DATA="/data" ENV NGINX_CONFIG="/nginx.conf" +ENV NUXT_PORT=4000 CMD ["sh", "/app/startup/launch.sh"] diff --git a/build/nginx.conf b/build/nginx.conf index d5f678d..88b6dbf 100644 --- a/build/nginx.conf +++ b/build/nginx.conf @@ -22,11 +22,11 @@ http { uwsgi_temp_path uwsgi_temp; server { - listen 8080; + listen 3000; server_name localhost; location / { - proxy_pass http://localhost:3000; + proxy_pass http://localhost:4000; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; diff --git a/components/ImportVersionLaunchRow.vue b/components/ImportVersionLaunchRow.vue index bdf3414..bcdb118 100644 --- a/components/ImportVersionLaunchRow.vue +++ b/components/ImportVersionLaunchRow.vue @@ -291,7 +291,6 @@ function updateLaunchCommand(command: string) { if (autosetGuess.type === "platform") { launchConfiguration.value.platform = autosetGuess.platform; } else if (autosetGuess.type === "executor") { - console.log(autosetGuess.executorId); executor.value = { launchId: autosetGuess.executorId, gameName: autosetGuess.gameName, diff --git a/server/internal/session/index.ts b/server/internal/session/index.ts index a50da59..f0262c7 100644 --- a/server/internal/session/index.ts +++ b/server/internal/session/index.ts @@ -161,7 +161,6 @@ export class SessionHandler { }; const session = (await this.sessionProvider.getSession(token)) ?? defaultSession; - console.log(session); session.data[key] = value; await this.sessionProvider.setSession(token, session); return true;