Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
BrunoQuaresma merged 8 commits intomainfrombq/3516
Sep 13, 2022
Merged

feat: Add portforward to the UI#3812

BrunoQuaresma merged 8 commits intomainfrombq/3516
Sep 13, 2022

Conversation

BrunoQuaresma
Copy link
Collaborator

Preview:
image

Blocked by#3753

Closes#3516

ajmeese7 reacted with hooray emojiajmeese7 reacted with rocket emoji
@BrunoQuaresmaBrunoQuaresma self-assigned thisSep 1, 2022
@BrunoQuaresmaBrunoQuaresma requested a review froma team as acode ownerSeptember 1, 2022 18:52
@BrunoQuaresmaBrunoQuaresma requested review frompresleyp and removed request fora teamSeptember 1, 2022 18:52
@bpmct
Copy link
Member

A note from#1624:

  • If an admin doesn't set up a wildcard domain, the port forwarding dropdown should not use a subdomain.
    • Coder Classic entirely disabled port forwarding via the dashboard when coderd. devurlsHost was not set.
      @bpmct suggestion: use a deployment-wide environment variable to enable subdomain apps. When disabled, use path URLs and link to docs to enable subdomains via the dropdown (many apps don't work by default as a path).
BrunoQuaresma reacted with thumbs up emoji

Co-authored-by: Presley Pizzo <1290996+presleyp@users.noreply.github.com>
@BrunoQuaresma
Copy link
CollaboratorAuthor

@bpmct thanks for bringing it to my attention!

bpmct reacted with heart emoji

@BrunoQuaresma
Copy link
CollaboratorAuthor

const [port, setPort] = useState("3000")
const { location } = window
const urlExample =
process.env.CODER_ENABLE_WILDCARD_APPS === "true"
Copy link
Member

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.

kylecarbs added a commit that referenced this pull requestSep 13, 2022
kylecarbs added a commit that referenced this pull requestSep 13, 2022
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@jsjoeiojsjoeiojsjoeio approved these changes

@kylecarbskylecarbskylecarbs left review comments

@presleyppresleyppresleyp approved these changes

Assignees

@BrunoQuaresmaBrunoQuaresma

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Access and share arbitrary ports from the UI
5 participants
@BrunoQuaresma@bpmct@presleyp@jsjoeio@kylecarbs

[8]ページ先頭

©2009-2025 Movatter.jp