Skip to content
This repository has been archived by the owner on Jul 6, 2023. It is now read-only.

Commit

Permalink
fix(npm): fix path of dist
Browse files Browse the repository at this point in the history
  • Loading branch information
ttshivers committed Sep 16, 2020
1 parent c845f39 commit 250d444
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env node

const syncloungeSocket = require('syncloungesocket');
const path = require('path');
const config = require('./config');

// Using a single function to handle multiple signals
Expand All @@ -26,6 +27,6 @@ const preStaticInjection = (router) => {
const socketConfig = syncloungeSocket.getConfig();
syncloungeSocket.socketServer({
...socketConfig,
static_path: 'dist',
static_path: path.join(__dirname, 'dist'),
preStaticInjection,
});

0 comments on commit 250d444

Please sign in to comment.