Skip to content

Commit f20d2af

Browse files
jsjoeiocode-asher
andauthored
Update test/utils/helpers.ts
Co-authored-by: Asher <[email protected]>
1 parent fe7a276 commit f20d2af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/utils/helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ export function isAddressInfo(address: unknown): address is net.AddressInfo {
129129
*/
130130
export async function getMaybeProxiedCodeServer(codeServer: CodeServerPage | CodeServer): Promise<string> {
131131
let address = await codeServer.address()
132-
if (process.env.USE_PROXY && process.env.USE_PROXY === "1") {
132+
if (process.env.USE_PROXY === "1") {
133133
const uri = new URL(address)
134134
return `http://${uri.hostname}:${REVERSE_PROXY_PORT}/${uri.port}/${REVERSE_PROXY_BASE_PATH}/`
135135
}

0 commit comments

Comments
 (0)