Skip to content

Commit

Permalink
Try to fix issue with running node on heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexNisnevich authored Mar 13, 2021
1 parent 37e950a commit 697db86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ if (NODE_ENV !== 'production') {
app.use(webpackDevMiddleware(compiler, { logLevel: 'warn', publicPath }));
app.use(webpackHotMiddleware(compiler));
} else {
app.use('/static', express.static(`${__dirname}/../../dist`));
app.use('/static', express.static(`${__dirname}/../..`));
}

app.use(sslRedirect());
Expand Down

0 comments on commit 697db86

Please sign in to comment.