This website works better with JavaScript.
Home
Explore
Help
Sign In
frallatta
/
Google-Admin-SDK
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
simplify send FCM
master
Frallatta
4 years ago
parent
b107209f7a
commit
e97f35f474
2 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
ecosystem.config.js
+1
-1
index.js
+ 1
- 0
ecosystem.config.js
View File
@@ -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
View File
@@ -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…
Cancel
Save