Skip to content

Commit 4e0bdf6

Browse files
committed
fix uninit const
1 parent aa84b0c commit 4e0bdf6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

client/src/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,10 +219,10 @@ export function stringToHex(str: string): string {
219219
return toHex(buffer);
220220
}
221221

222-
const PROXY_PREFIX_LENGTH =
223-
"/proxy/00000000-0000-0000-0000-000000000000".length;
224-
225222
function mergeURLs(targetURLStr: string, requestURLStr: string): URL {
223+
const PROXY_PREFIX_LENGTH =
224+
"/proxy/00000000-0000-0000-0000-000000000000".length;
225+
226226
const requestURL = new URL(requestURLStr);
227227
const proxyPath = requestURL.pathname.substring(
228228
PROXY_PREFIX_LENGTH

0 commit comments

Comments
 (0)