front end, config

This commit is contained in:
lesion
2019-02-26 01:17:52 +01:00
parent 887157f2a9
commit bae404f422
58 changed files with 12862 additions and 157 deletions

13
client/config.js Normal file
View File

@@ -0,0 +1,13 @@
const env = process.env.NODE_ENV
const beConf = require('../config/config.' + env + '.json')
const conf = {
// environment
title: beConf.title,
// base url
baseurl: beConf.baseurl,
apiurl: beConf.apiurl
}
export default conf