Use config route path for temp files

This commit is contained in:
Bryan Ashby 2017-02-09 20:34:29 -07:00
parent 4ab08287a2
commit 2d9cd39ae8
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ class FileAreaWebAccess {
const routeAdded = self.webServer.instance.addRoute({ const routeAdded = self.webServer.instance.addRoute({
method : 'GET', method : 'GET',
path : '/f/[a-zA-Z0-9]+$', // :TODO: allow this to be configurable path : Config.fileBase.web.routePath,
handler : self.routeWebRequestForFile.bind(self), handler : self.routeWebRequestForFile.bind(self),
}); });