Skip to content

Commit

Permalink
🐛 Another file path fix
Browse files Browse the repository at this point in the history
  • Loading branch information
samdenty committed Jan 11, 2018
1 parent b15d7d6 commit 28a48bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -1716,6 +1716,6 @@ MongoClient.connect(config.mongodb, function (err, client) {
app.use('/config', function (req, res) {
res.sendFile(path.join(__dirname, '../interface/index.html'));
});
app.use(express.static(path.join(__dirname, 'interface')));
app.use(express.static(path.join(__dirname, '../interface')));
}
});
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1683,6 +1683,6 @@ MongoClient.connect(config.mongodb, (err, client) => {
app.use('/config', (req, res) => {
res.sendFile(path.join(__dirname, '../interface/index.html'))
})
app.use(express.static(path.join(__dirname, 'interface')))
app.use(express.static(path.join(__dirname, '../interface')))
}
})

0 comments on commit 28a48bf

Please sign in to comment.