mirror of
https://github.com/BillyOutlast/drop.git
synced 2026-02-04 00:31:17 +01:00
Fix console.log and NGINX port
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"]
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user