Skip to content

Commit 5d88ef0

Browse files
author
Kuniwak
committed
Fix abs path
1 parent f50554d commit 5d88ef0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ var app = express();
99
app.use(bodyParser.json({limit: '50mb'}));
1010
app.use(bodyParser.urlencoded({extended: true, limit: '50mb' }));
1111

12-
var PUBLIC_DIR = path.join(__dirname, '/test');
13-
var MODULE_DIR = path.join(__dirname, '/node_modules');
12+
var PUBLIC_DIR = path.join(__dirname, 'test');
13+
var MODULE_DIR = path.join(__dirname, 'node_modules');
1414
app.use(express.static(PUBLIC_DIR));
1515
app.use('/modules', express.static(MODULE_DIR));
1616

0 commit comments

Comments
 (0)