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
networks:
- nocobase
command: [ "yarn", "start-pm2" ]
command: [ "yarn", "start" ]
working_dir: /app
env_file: ./.env
volumes:

View File

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