[GH-ISSUE #22] dashboard server NEXT_PUBLIC_API_URL unsupported #15

Open
opened 2026-03-01 14:35:57 +03:00 by kerem · 0 comments
Owner

Originally created by @sublimal on GitHub (Feb 4, 2026).
Original GitHub issue: https://github.com/alpkeskin/rota/issues/22

Dashboard server.js does not honour NEXT_PUBLIC_API_URL environment. This rendered chunk is passed to web client:

    let r = e.i(90163).default.env.NEXT_PUBLIC_API_URL || "http://localhost:8001"

Evaluation and substitution needs to be done serverside.

Originally created by @sublimal on GitHub (Feb 4, 2026). Original GitHub issue: https://github.com/alpkeskin/rota/issues/22 Dashboard server.js does not honour `NEXT_PUBLIC_API_URL` environment. This rendered chunk is passed to web client: ``` let r = e.i(90163).default.env.NEXT_PUBLIC_API_URL || "http://localhost:8001" ``` Evaluation and substitution needs to be done serverside.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/rota#15
No description provided.