소스 검색

Configure frontend port

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

+ 1 - 0
backend/index.js

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