fix: path to serve static files

This commit is contained in:
Richard Ramos 2019-08-12 11:36:46 -04:00 committed by Andy Tudhope
parent ca9b539b3e
commit ed4fb1f66a
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ async function setupAPI() {
setupPostRoutedAppMiddlewares(app);
app.use(express.static('frontend'));
app.use(express.static(path.join(__dirname, '/frontend')));
/* Handles any requests that don't match the ones above */
app.get('*', (req,res) =>{