Skip to content

Commit

Permalink
fix import GracefulServer
Browse files Browse the repository at this point in the history
  • Loading branch information
nleush committed Nov 5, 2021
1 parent a495cee commit 7264134
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
Expand Up @@ -16,8 +16,9 @@ console.log(' - [email protected] - if you need help');
console.log(' - twitter.com/iframely - news & updates');
console.log(' - github.com/itteco/iframely - star & contribute');

import { GracefulServer } from 'graceful-cluster';

if (!CONFIG.DEBUG) {
var GracefulServer = require('graceful-cluster').GracefulServer;
new GracefulServer({
server: server,
log: sysUtils.log,
Expand Down

0 comments on commit 7264134

Please sign in to comment.