From 2d9cd39ae87c977353edb6c70b1612b8a769adfe Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Thu, 9 Feb 2017 20:34:29 -0700 Subject: [PATCH] Use config route path for temp files --- core/file_area_web.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/file_area_web.js b/core/file_area_web.js index 3f1b60ac..fc2ae61b 100644 --- a/core/file_area_web.js +++ b/core/file_area_web.js @@ -48,7 +48,7 @@ class FileAreaWebAccess { const routeAdded = self.webServer.instance.addRoute({ method : 'GET', - path : '/f/[a-zA-Z0-9]+$', // :TODO: allow this to be configurable + path : Config.fileBase.web.routePath, handler : self.routeWebRequestForFile.bind(self), });