Frallatta 4 лет назад
Родитель
Сommit
e97f35f474
2 измененных файлов: 2 добавлений и 1 удалений
  1. +1
    -0
      ecosystem.config.js
  2. +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");



Загрузка…
Отмена
Сохранить