chore: unexpected token '.'

This commit is contained in:
chenos 2022-05-24 22:55:09 +08:00
parent cd39e927b6
commit b1313763e3
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ services:
dockerfile: ./docker/node/Dockerfile dockerfile: ./docker/node/Dockerfile
networks: networks:
- nocobase - nocobase
command: [ "yarn", "start-pm2" ] command: [ "yarn", "start" ]
working_dir: /app working_dir: /app
env_file: ./.env env_file: ./.env
volumes: volumes:

View File

@ -2,7 +2,7 @@ const { existsSync } = require('fs');
const { resolve } = require('path'); const { resolve } = require('path');
const packageJson = require('./package.json'); const packageJson = require('./package.json');
console.log('VERSION: ', packageJson?.version); console.log('VERSION: ', packageJson.version);
function getUmiConfig() { function getUmiConfig() {
const { APP_PORT, API_BASE_URL } = process.env; const { APP_PORT, API_BASE_URL } = process.env;