mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
14 lines
273 B
JavaScript
14 lines
273 B
JavaScript
const env = process.env.NODE_ENV
|
|
const beConf = require('../config/config.' + env + '.json')
|
|
|
|
const conf = {
|
|
// environment
|
|
title: beConf.title,
|
|
description: beConf.description,
|
|
|
|
// base url
|
|
baseurl: beConf.baseurl,
|
|
apiurl: beConf.apiurl
|
|
}
|
|
|
|
export default conf
|