config WALLET_AUTH_URL

This commit is contained in:
Ulf Gebhardt 2021-11-19 20:53:18 +01:00
parent d24cb5806f
commit c636bf36ad
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9
2 changed files with 5 additions and 2 deletions

2
admin/.env.dist Normal file
View File

@ -0,0 +1,2 @@
GRAPHQL_URI=http://localhost:4000/graphql
WALLET_AUTH_URL=http://localhost/vue/authenticate?token=$1

View File

@ -17,8 +17,9 @@ const environment = {
PRODUCTION: process.env.NODE_ENV === 'production' || false,
}
const server = {
const endpoints = {
GRAPHQL_URI: process.env.GRAPHQL_URI || 'http://localhost:4000/graphql',
WALLET_AUTH_URL: process.env.WALLET_AUTH_URL || 'http://localhost:3000/vue/authenticate?token=$1'
}
const options = {}
@ -26,7 +27,7 @@ const options = {}
const CONFIG = {
...version,
...environment,
...server,
...endpoints,
...options,
}