lrf 2 gadi atpakaļ
vecāks
revīzija
ec970687ca
3 mainītis faili ar 5 papildinājumiem un 3 dzēšanām
  1. 2 1
      .gitattributes
  2. 2 2
      src/config/config.prod.ts
  3. 1 0
      update.sh

+ 2 - 1
.gitattributes

@@ -1,2 +1,3 @@
 src/config/** merge=ours
-ecosystem.config.js merge=ours
+ecosystem.config.js merge=ours
+update.sh merge=ours

+ 2 - 2
src/config/config.prod.ts

@@ -7,10 +7,10 @@ export default {
   keys: '1669597198171_1000',
   koa: {
     port: 12214,
-    globalPrefix: '/point/chat/v1/api',
+    globalPrefix: '/dev/point/chat/v1/api',
   },
   swagger: {
-    swaggerPath: '/point/chat/v1/api/doc/api',
+    swaggerPath: '/dev/point/chat/v1/api/doc/api',
   },
   mongoose: {
     dataSource: {

+ 1 - 0
update.sh

@@ -0,0 +1 @@
+git pull && npm run build && pm2 restart 36