소스 검색

simplify send FCM

master
Frallatta 4 년 전
부모
커밋
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");



불러오는 중...
취소
저장