소스 검색

Fixed linux-non-docker index.html issue

Owen Diffey 8 년 전
부모
커밋
9573a098f2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      backend/index.js

+ 1 - 1
backend/index.js

@@ -204,7 +204,7 @@ async.waterfall([
 			const express = require('express');
 			const app = express();
 			app.listen(config.get("frontendPort"));
-			const rootDir = __dirname.substr(0, __dirname.lastIndexOf("backend")) + "frontend\\build\\";
+			const rootDir = __dirname.substr(0, __dirname.lastIndexOf("backend")) + "frontend/build/";
 
 			app.get("/*", (req, res) => {
 				const path = req.path;