We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10238aa commit d0d4cbaCopy full SHA for d0d4cba
src/serve/proxy/ngrok-proxy.ts
@@ -8,7 +8,8 @@ export class NgrokProxy implements ProxyInterface {
8
constructor() {}
9
10
async connect(targetUrl: URL): Promise<URL> {
11
- const targetPort = targetUrl.port || (targetUrl.protocol === "https:" ? "443" : "80");
+ const targetPort =
12
+ targetUrl.port || (targetUrl.protocol === "https:" ? "443" : "80");
13
const targetHost = targetUrl.hostname;
14
15
if (!process.env.NGROK_AUTHTOKEN) {
0 commit comments