Fix console.log and NGINX port

This commit is contained in:
DecDuck
2026-01-29 16:34:45 +11:00
parent 00adab21c2
commit 837bc6eb1d
5 changed files with 5 additions and 4 deletions

View File

@@ -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

View File

@@ -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"]

View File

@@ -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";

View File

@@ -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,

View File

@@ -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;