-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API Key in app.config.json ignored #20
Comments
Hey, did you use it in combination with the MVD? |
Yes, I did
|
Did you change it in the DataDashboard Config or in the MinimumViableDataspace Repo? Bc the DataDashboard Configs are in the MVD Repo if you try to change sth. For each company their is an own config. For example company1 |
Hi, I changed it in the MVD repo. My issue was half a year ago though and I ended up using a workaround, because from the comment on line 81 in app.module.ts in the DataDashboard repo:
it looked like it just wasn't implemented to take a different API key. I double-checked and the code-block still looks the same today on the main branch. |
Bug Report
Describe the Bug
The API Key configured in app.config.json seems to be ignored and is instead taken exclusively from the environment config (e.g. environment.prod.ts).
Expected Behavior
API Key configured in app.config.json is used by the frontend.
Observed Behavior
API Key from the environment config (e.g. environment.prod.ts) is used, even if there is a different value configured in app.config.json.
Steps to Reproduce
Steps to reproduce the behavior:
Context Information
There is an existing "TODO" in the code at line 83 of app.module.ts, but I haven't found a corresponding issue.
Possible Implementation
The value in the environment file could be taken as a default, overwritten by the app config if it is configured there.
The text was updated successfully, but these errors were encountered: