MCPcopy Index your code
hub / github.com/coder/code-server / domainProxy.ts

File domainProxy.ts

src/node/routes/domainProxy.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { Request, Router } from "express"
2import { HttpCode, HttpError } from "../../common/http"
3import { getHost, ensureProxyEnabled, authenticated, ensureAuthenticated, ensureOrigin, redirect, self } from "../http"
4import { proxy } from "../proxy"

Callers

nothing calls this directly

Calls 9

RouterFunction · 0.90
ensureProxyEnabledFunction · 0.90
authenticatedFunction · 0.90
selfFunction · 0.90
redirectFunction · 0.90
ensureOriginFunction · 0.90
ensureAuthenticatedFunction · 0.90
maybeProxyFunction · 0.85
wsMethod · 0.45

Tested by

no test coverage detected