chore(dev): support accessing the dev server from non-localhost (#887)

This commit is contained in:
James Ward
2026-04-25 17:34:30 -04:00
committed by GitHub
parent 42c74171b1
commit 254765f4aa
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ services:
- DATABASE_USERNAME=grimmory
- DATABASE_PASSWORD=grimmory
- REMOTE_DEBUG_ENABLED=true
- ALLOWED_ORIGINS=http://localhost:4200
- ALLOWED_ORIGINS=*
- API_DOCS_ENABLED=true
- JAVA_TOOL_OPTIONS=-XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=compact -XX:+UseCompactObjectHeaders -XX:MaxRAMPercentage=60.0 -XX:InitialRAMPercentage=8.0 -XX:+ExitOnOutOfMemoryError -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp/heapdump.hprof -XX:MaxMetaspaceSize=256m -XX:ReservedCodeCacheSize=48m -Xss512k -XX:CICompilerCount=2 -XX:+UnlockExperimentalVMOptions -XX:+UseStringDeduplication -XX:ShenandoahUncommitDelay=5000 -XX:ShenandoahGuaranteedGCInterval=30000 -XX:MaxDirectMemorySize=256m
stdin_open: true
+2 -2
View File
@@ -1,7 +1,7 @@
export const environment = {
production: false,
API_CONFIG: {
BASE_URL: 'http://localhost:6060',
BROKER_URL: 'ws://localhost:6060/ws',
BASE_URL: `http://${window.location.hostname}:6060`,
BROKER_URL: `ws://${window.location.hostname}:6060/ws`,
},
};