Use config route path for temp files
This commit is contained in:
parent
4ab08287a2
commit
2d9cd39ae8
|
@ -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),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue