이 웹사이트는 자바스크립트 활성화가 필요합니다.
홈
탐색
도움말
로그인
frallatta
/
Google-Admin-SDK
보기
1
좋아요
0
포크
0
코드
이슈
0
풀 리퀘스트
0
릴리즈
0
위키
활동
소스 검색
Fix Port Configuration
master
Frallatta
4 년 전
부모
e97f35f474
커밋
e4d7d88c6b
2개의 변경된 파일
과
19개의 추가작업
그리고
18개의 파일을 삭제
분할 보기
Diff Options
Show Stats
Download Patch File
Download Diff File
+18
-17
ecosystem.config.js
+1
-1
index.js
+ 18
- 17
ecosystem.config.js
파일 보기
@@ -1,19 +1,20 @@
module.exports = {
apps : [{
name: 'FCM-SDK-Admin',
script: 'index.js',
exec_mode: 'cluster',
instances: "1",
watch: true,
time:true,
env: {
"PORT": 3004,
"NODE_ENV": "development",
},
env_production : {
"PORT": 3004,
"NODE_ENV": "production"
}
}]
apps: [
{
name: "FCM-SDK-Admin",
script: "index.js",
exec_mode: "cluster",
instances: "1",
watch: true,
time: true,
env: {
PORT: 14003,
NODE_ENV: "development",
},
env_production: {
PORT: 14003,
NODE_ENV: "production",
},
},
],
};
+ 1
- 1
index.js
파일 보기
@@ -1,7 +1,7 @@
const express = require("express");
const path = require("path");
var admin = require("firebase-admin");
const port = process.env.PORT ||
3004
;
const port = process.env.PORT ||
14003
;
var dirPath = path.join(__dirname, "fcm_key");
쓰기
미리보기
불러오는 중...
취소
저장