8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dff6a4c commit 7f9a9b0Copy full SHA for 7f9a9b0
test/utils/helpers.ts
@@ -128,7 +128,7 @@ export function isAddressInfo(address: unknown): address is net.AddressInfo {
128
* Otherwise, return the direct address of code-server.
129
*/
130
export async function getMaybeProxiedCodeServer(codeServer: CodeServerPage | CodeServer): Promise<string> {
131
- let address = await codeServer.address()
+ const address = await codeServer.address()
132
if (process.env.USE_PROXY === "1") {
133
const uri = new URL(address)
134
return `http://${uri.hostname}:${REVERSE_PROXY_PORT}/${uri.port}/${REVERSE_PROXY_BASE_PATH}/`
0 commit comments