This website works better with JavaScript.
首頁
探索
說明
登入
frallatta
/
Google-Admin-SDK
關註
1
收藏
0
複製
0
程式碼
問題管理
0
合併請求
0
版本發佈
0
Wiki
Activity
瀏覽代碼
simplify send FCM
master
Frallatta
4 年之前
父節點
b107209f7a
當前提交
e97f35f474
共有
2 個文件被更改
,包括
2 次插入
和
1 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
ecosystem.config.js
+1
-1
index.js
+ 1
- 0
ecosystem.config.js
查看文件
@@ -5,6 +5,7 @@ module.exports = {
exec_mode: 'cluster',
instances: "1",
watch: true,
time:true,
env: {
"PORT": 3004,
"NODE_ENV": "development",
+ 1
- 1
index.js
查看文件
@@ -1,7 +1,7 @@
const express = require("express");
const path = require("path");
var admin = require("firebase-admin");
const port = 3004;
const port =
process.env.PORT ||
3004;
var dirPath = path.join(__dirname, "fcm_key");
Write
Preview
Loading…
取消
儲存