added inteceptor to include diff headers in diff env

This commit is contained in:
heyethereum
2024-08-03 13:47:24 +08:00
parent 1fdfd94baf
commit 804eb6f024
6 changed files with 67 additions and 19 deletions

View File

@@ -9,6 +9,7 @@ export default ({ config }) => {
...config,
extra: {
API_BASE_URL: process.env.BASE_URL,
ENVIRONMENT: process.env.NODE_ENV
},
};
};