Bladeren bron

simplify send FCM

master
Frallatta 4 jaren geleden
bovenliggende
commit
e97f35f474
2 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  1. +1
    -0
      ecosystem.config.js
  2. +1
    -1
      index.js

+ 1
- 0
ecosystem.config.js Bestand weergeven

@@ -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 Bestand weergeven

@@ -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");



Laden…
Annuleren
Opslaan