From 3075ffeab46c90a4d07f9d5380026e1d96ae58d1 Mon Sep 17 00:00:00 2001 From: Georges-Antoine Assi Date: Mon, 25 Aug 2025 13:25:34 -0400 Subject: [PATCH] centralize routes --- docker/init_scripts/init | 2 +- frontend/src/console/Layout.vue | 73 +++++++++++++----------- frontend/src/console/views/Game.vue | 13 +++-- frontend/src/console/views/GamesList.vue | 9 +-- frontend/src/console/views/Home.vue | 13 +++-- frontend/src/console/views/Play.vue | 3 +- frontend/src/services/api/collection.ts | 4 +- frontend/src/stores/collections.ts | 3 + frontend/src/stores/consoleNav.ts | 10 ++-- 9 files changed, 72 insertions(+), 58 deletions(-) diff --git a/docker/init_scripts/init b/docker/init_scripts/init index 5944baf91..e1c00d59b 100755 --- a/docker/init_scripts/init +++ b/docker/init_scripts/init @@ -100,7 +100,7 @@ start_bin_gunicorn() { opentelemetry-instrument \ --service_name "${OTEL_SERVICE_NAME_PREFIX-}api" \ gunicorn \ - --bind=0.0.0.0:5000 \ + --bind=0.0.0.0:"${DEV_PORT:-5000}" \ --bind=unix:/tmp/gunicorn.sock \ --pid=/tmp/gunicorn.pid \ --forwarded-allow-ips="*" \ diff --git a/frontend/src/console/Layout.vue b/frontend/src/console/Layout.vue index 2cf1246b6..3d8681e4b 100644 --- a/frontend/src/console/Layout.vue +++ b/frontend/src/console/Layout.vue @@ -1,47 +1,22 @@ - + + +