mirror of
https://github.com/tiennm99/loto.git
synced 2026-05-17 18:59:22 +00:00
0844027460
NEXT_DEV_PROFILE=codeserver wires basePath, assetPrefix, and
allowedDevOrigins from CODESERVER_HOST/PORT in .env.local. Use
/absproxy/{port} so code-server preserves the path prefix and Next's
basePath matches the incoming request.
Run with `npm run dev:codeserver` and access via
https://<host>/absproxy/<port>/.
3 lines
65 B
Bash
3 lines
65 B
Bash
CODESERVER_HOST=your-codeserver.example.com
|
|
CODESERVER_PORT=3000
|