-
Notifications
You must be signed in to change notification settings - Fork 877
feat: Add portforward to the UI #3812
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
A note from #1624:
|
Co-authored-by: Presley Pizzo <1290996+presleyp@users.noreply.github.com>
@bpmct thanks for bringing it to my attention! |
@bpmct are these "URL interpolations" right? https://github.com/coder/coder/pull/3812/files#diff-5390f341c0bb6b03cb273d6cb97525b6c3f607dc8c5decbc9cfafd2dd7e0d46dR32-R35 |
const [port, setPort] = useState("3000") | ||
const { location } = window | ||
const urlExample = | ||
process.env.CODER_ENABLE_WILDCARD_APPS === "true" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will be compiled by webpack, and isn't a dynamic environment variable at runtime. If we want to have a proper environment variable passed through, it'll have to come via the backend.
This reverts commit 0552c36.
Preview:

Blocked by #3753
Closes #3516