env: move URL_GET_USER to env.local
This commit is contained in:
parent
a0cc238508
commit
6d9a26a54d
3
.env
3
.env
@ -2,5 +2,4 @@
|
||||
USERS_SUPER=["akalinina","vchikalkin"]
|
||||
|
||||
####### URLS ########
|
||||
URL_GET_USER=http://auth_service/auth/user
|
||||
NEXT_PUBLIC_URL_CRM_GRAPHQL_PROXY=/api/crmgraphql
|
||||
NEXT_PUBLIC_URL_CRM_GRAPHQL_PROXY=/api/crmgraphql
|
||||
|
||||
@ -20,7 +20,7 @@ const users = {
|
||||
};
|
||||
|
||||
export const handlers = [
|
||||
rest.get('http://auth_service/auth/user', (req, res, ctx) => {
|
||||
rest.get(process.env.URL_GET_USER, (req, res, ctx) => {
|
||||
return res(ctx.json(users.akalinina));
|
||||
}),
|
||||
];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user