Archived
1
0

Move domain proxy to routes

This matches better with the other routes.

Also add a missing authentication check to the path proxy web socket.
This commit is contained in:
Asher
2020-11-05 16:45:58 -06:00
parent f6c4434191
commit f7076247f9
4 changed files with 93 additions and 90 deletions

View File

@ -13,12 +13,12 @@ import { rootPath } from "../constants"
import { Heart } from "../heart"
import { replaceTemplates } from "../http"
import { loadPlugins } from "../plugin"
import * as domainProxy from "../proxy"
import { getMediaMime, paths } from "../util"
import { WebsocketRequest } from "../wsRouter"
import * as domainProxy from "./domainProxy"
import * as health from "./health"
import * as login from "./login"
import * as proxy from "./proxy"
import * as proxy from "./pathProxy"
// static is a reserved keyword.
import * as _static from "./static"
import * as update from "./update"