FIRST COMMIT: configurable upload url

- aggiunta nel config.js della variabile dynUpload e modifica della url
dell'app.
This commit is contained in:
root
2018-12-06 13:15:19 +01:00
parent 13a03333b3
commit cc6d118193
2 changed files with 3 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ app.get('/robots.txt', (req, res) => {
});
// Upload App
app.get('/', (req, res) => {
app.get(config.dynUpload, (req, res) => {
res.sendFile(path.join(__dirname, '../public/html/upload.html'));
});