matro7sh/Smersh

Environnement.ts variables not applied

Dfte opened this issue · 1 comments

Dfte commented

I have an issue when querying Smersh from a domain name and not from 0.0.0.0 or 127.0.0.1. This is related to the CORS configuration which doesn't allow requests to port 8000.

What I tried is to modify the client/src/environments.ts file in which the API/HOSTS variables are set:

image

After changing those values I rebuilt the containers and for I don't know what reason, the environment variables were not changed in the code:

image

Even though I rebuilt the containers from scratchs wipping the orphans.

Any idea ? :P

Hello @Dfte, resolved by #124 :)