8000 feat(e2e): add support running behind proxy by jsjoeio · Pull Request #5348 · coder/code-server · GitHub
[go: up one dir, main page]

Skip to content

feat(e2e): add support running behind proxy #5348

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

Merged
merged 14 commits into from
Aug 9, 2022
Merged
Prev Previous commit
Next Next commit
Update test/e2e/models/CodeServer.ts
  • Loading branch information
jsjoeio authored Aug 8, 2022
commit a784f2da6daf5724e076b376b3a7daa72fef2af3
8 changes: 0 additions & 8 deletions test/e2e/models/CodeServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,6 @@ export class CodeServer {
}
const { address } = await this.process

// NOTE@jsjoeio - when enabled, we assume code-server is running
// via a reverse proxy with something like Caddy
// and being accessed at host/port i.e. localhost:8000/1337
// if (process.env.USE_PROXY && process.env.USE_PROXY === "1") {
// const uri = new URL(address)
// return `http://${uri.hostname}:8000/${uri.port}/ide/`
// }

return address
}

Expand Down
0