mirror of https://github.com/dap-ps/discover.git
fix: path to serve static files
This commit is contained in:
parent
ca9b539b3e
commit
ed4fb1f66a
|
@ -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) =>{
|
||||
|
|
Loading…
Reference in New Issue