Title: Add environment variable with server URL · Issue #1939 · coder/code-server · GitHub
Open Graph Title: Add environment variable with server URL · Issue #1939 · coder/code-server
X Title: Add environment variable with server URL · Issue #1939 · coder/code-server
Description: It would be really cool if code-server could put an env var into the terminals it starts that tells what url is being used to access the server. In particular I want to use this in scripts that start servers, so I can print out http://lo...
Open Graph Description: It would be really cool if code-server could put an env var into the terminals it starts that tells what url is being used to access the server. In particular I want to use this in scripts that sta...
X Description: It would be really cool if code-server could put an env var into the terminals it starts that tells what url is being used to access the server. In particular I want to use this in scripts that sta...
Opengraph URL: https://github.com/coder/code-server/issues/1939
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add environment variable with server URL","articleBody":"It would be really cool if code-server could put an env var into the terminals it starts that tells what url is being used to access the server.\r\n\r\nIn particular I want to use this in scripts that start servers, so I can print out http://localhost:8080 when running under normal vscode, but https://myserver.com/proxy/8080 when running under code server.\r\n\r\nI'd also use this to configure the upstreamProxy setting of karma when running under code-server.\r\n","author":{"url":"https://github.com/ribrdb","@type":"Person","name":"ribrdb"},"datePublished":"2020-08-03T14:14:25Z","url":"https://github.com/coder/code-server/issues/1939"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d8359e7b-c617-6132-5dc0-5799d9a485fb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B500:785A9:35F1E13:447FB5B:6B01E57B |
| html-safe-nonce | 1be7d903e4ac6fdae47ffb98140773fc3f46d354f8c57523c52085325d2beccb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNTAwOjc4NUE5OjM1RjFFMTM6NDQ3RkI1Qjo2QjAxRTU3QiIsInZpc2l0b3JfaWQiOiI2NjY3MzIxNjY4MDQzNjYyNzE1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c9af9276554bfc5ecbc3a44d5a0dbcc937097a57887fa8d2af6fb43aee23bce7 |
| hovercard-subject-tag | issue:672107169 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/code-server/1939/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7b91628030eb077353106f27d4ba5804f28f3afa37441f5237a2e8bb026768bd/coder/code-server/issues/1939 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7b91628030eb077353106f27d4ba5804f28f3afa37441f5237a2e8bb026768bd/coder/code-server/issues/1939 |
| og:image:alt | It would be really cool if code-server could put an env var into the terminals it starts that tells what url is being used to access the server. In particular I want to use this in scripts that sta... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ribrdb |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/code-server git https://github.com/coder/code-server.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 172953845 |
| octolytics-dimension-repository_nwo | coder/code-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 172953845 |
| octolytics-dimension-repository_network_root_nwo | coder/code-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width