mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-21 02:05:54 +02:00
Use config route path for temp files
This commit is contained in:
parent
4ab08287a2
commit
2d9cd39ae8
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue