mirror of
https://github.com/tiennm99/loto.git
synced 2026-10-20 00:15:33 +00:00
feat: add codeserver dev profile
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>/.
This commit is contained in:
1 parent
9d52b5b02a
commit
400c55bef8
5 files changed
+30
-2
No files matched your search
@@ -0,0 +1,2 @@
|
||||
CODESERVER_HOST=your-codeserver.example.com
|
||||
CODESERVER_PORT=3000
|
||||
Reference in new issue
Block a user