Skip to content
This repository was archived by the owner on Dec 4, 2021. It is now read-only.

Commit 287a61c

Browse files
authored
Add Slash to Path to Prevent Server Crashing (#48)
1 parent 3554010 commit 287a61c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

client/api/SceRpcApiServer.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@ class SceRpcApiServer {
9191
// command line, we create a server instance and start listening for requests.
9292
if (typeof module !== 'undefined' && !module.parent) {
9393
const apiRoutes = [
94-
__dirname + '2DPrinting.js',
95-
__dirname + '3DPrinting.js',
96-
__dirname + 'LedSign.js'
94+
__dirname + '/2DPrinting.js',
95+
__dirname + '/3DPrinting.js',
96+
__dirname + '/LedSign.js'
9797
];
9898
const server = new SceRpcApiServer(
9999
apiRoutes, 8083, '/SceRpcApi/');

0 commit comments

Comments
 (0)