Skip to content

Commit

Permalink
🐛 Fixed the server static path as well
Browse files Browse the repository at this point in the history
  • Loading branch information
hans-lizihan committed Mar 26, 2020
1 parent 0d632e1 commit 28a2e21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "bull-master",
"description": "Bull queue UI for inspecting and manipulating jobs",
"version": "1.0.1",
"version": "1.0.2",
"keywords": [
"bull",
"redis",
Expand Down
2 changes: 1 addition & 1 deletion server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ module.exports = ({ queues, prefix }) => {

const router = express.Router();
router
.use('/', express.static(path.resolve(__dirname, '../static')))
.use('/', express.static(path.resolve(__dirname, '../dist')))
.get('/', render)
.get('/queues/:queueName', render)
.get('/queues/:queueName/:jobId', render)
Expand Down

0 comments on commit 28a2e21

Please sign in to comment.