Webpack fixes

This commit is contained in:
2021-01-30 13:17:46 +02:00
parent 1f6740c9df
commit bed31b29ff
7 changed files with 215 additions and 691 deletions

View File

@@ -87,6 +87,7 @@ const players = new Players()
app.use(cors())
app.use(express.static(path.join(__dirname, '/../../client/static/assets')))
app.use(express.static(path.join(__dirname, '/../../client/dist')))
app.get('/', function(req, res) {
res.sendFile('index.html', { root: __dirname + '/../../client/static/'});