샘플 관리자 토큰 검증 비활성화

This commit is contained in:
2026-06-06 18:47:18 +09:00
parent 5a1f851d32
commit 379b593efd
5 changed files with 21 additions and 2 deletions

View File

@@ -44,6 +44,7 @@ tested with `curl -k` while the certificate is being prepared.
```text
CARGORADAR_PORT=8080
ADMIN_TOKEN=
ADMIN_AUTH_REQUIRED=false
KAKAO_JAVASCRIPT_KEY=07f4728599ceaf4299f77c772a135423
SIMULATOR_ENABLED=true
SIMULATOR_INTERVAL_MS=4000
@@ -55,12 +56,15 @@ host port is `18081` because `18080` is already forwarded for `opendaw`.
```text
CARGORADAR_PORT=18081
ADMIN_TOKEN=change_this_admin_token
ADMIN_AUTH_REQUIRED=false
KAKAO_JAVASCRIPT_KEY=07f4728599ceaf4299f77c772a135423
SIMULATOR_ENABLED=true
SIMULATOR_INTERVAL_MS=4000
```
`ADMIN_TOKEN` can stay blank during local MVP testing. For NAS exposure, set it.
`ADMIN_AUTH_REQUIRED=false` keeps the sample control screen open regardless of
the entered admin token. For real operation, set `ADMIN_AUTH_REQUIRED=true` and
use a strong `ADMIN_TOKEN`.
Set `SIMULATOR_ENABLED=false` when real Android phones are ready to provide
driver locations.
If opening the app directly by port, use: