Remove invalid comment on maybeProxy
It no longer handles authentication.
This commit is contained in:
parent
75b93f9dc5
commit
e2c35facdb
@ -25,8 +25,6 @@ export const router = Router()
|
|||||||
*
|
*
|
||||||
* For example if `coder.com` is specified `8080.coder.com` will be proxied
|
* For example if `coder.com` is specified `8080.coder.com` will be proxied
|
||||||
* but `8080.test.coder.com` and `test.8080.coder.com` will not.
|
* but `8080.test.coder.com` and `test.8080.coder.com` will not.
|
||||||
*
|
|
||||||
* Throw an error if proxying but the user isn't authenticated.
|
|
||||||
*/
|
*/
|
||||||
const maybeProxy = (req: Request): string | undefined => {
|
const maybeProxy = (req: Request): string | undefined => {
|
||||||
// Split into parts.
|
// Split into parts.
|
||||||
|
Reference in New Issue
Block a user