mirror of
https://github.com/Permissionless-Software-Foundation/x402-base-facilitator.git
synced 2026-09-21 16:52:01 -07:00
Add config file for envs
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
const env = process.env.NODE_ENV || 'development'
|
||||
|
||||
const config = {
|
||||
common: {
|
||||
port: process.env.PORT || 5000
|
||||
},
|
||||
development: {},
|
||||
production: {}
|
||||
}
|
||||
|
||||
export default Object.assign({}, config.common, config[env])
|
||||
Reference in New Issue
Block a user