Archived
1
0

Remove invalid comment on maybeProxy

It no longer handles authentication.
This commit is contained in:
Asher 2020-11-03 15:47:20 -06:00
parent 75b93f9dc5
commit e2c35facdb
No known key found for this signature in database
GPG Key ID: D63C1EF81242354A

View File

@ -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.