From d062ded6225a1cd2593afdce0ecd91ef8317950a Mon Sep 17 00:00:00 2001 From: Luigi Pinca Date: Fri, 15 Apr 2022 13:10:21 +0200 Subject: [PATCH] [example] Fix require path --- examples/express-session-parse/index.js | 2 +- examples/server-stats/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/express-session-parse/index.js b/examples/express-session-parse/index.js index 28ea15412..b62a2e4a5 100644 --- a/examples/express-session-parse/index.js +++ b/examples/express-session-parse/index.js @@ -5,7 +5,7 @@ const express = require('express'); const http = require('http'); const uuid = require('uuid'); -const { WebSocketServer } = require('..'); +const { WebSocketServer } = require('../..'); const app = express(); const map = new Map(); diff --git a/examples/server-stats/index.js b/examples/server-stats/index.js index 91d958d52..e8754b5b2 100644 --- a/examples/server-stats/index.js +++ b/examples/server-stats/index.js @@ -4,7 +4,7 @@ const express = require('express'); const path = require('path'); const { createServer } = require('http'); -const { WebSocketServer } = require('..'); +const { WebSocketServer } = require('../..'); const app = express(); app.use(express.static(path.join(__dirname, '/public')));