Closed Veggissss closed 6 months ago
When going to https://api.unrated.no/graphiql and quering:
query{ getWhiskeys{id, title} }
Only the test data/whiskeys shows up, which should not be in production. This might be because the environment variable for MICRONAUT_ENVIRONMENTS is not set to prod .
MICRONAUT_ENVIRONMENTS
prod
Adding this to restart.sh might solve it:
restart.sh
export MICRONAUT_ENVIRONMENTS=prod
Will look into, this is for prod? Can be fixed by adding it too the systemctl-service file
systemctl
When going to https://api.unrated.no/graphiql and quering:
Only the test data/whiskeys shows up, which should not be in production. This might be because the environment variable for
MICRONAUT_ENVIRONMENTS
is not set toprod
.Adding this to
restart.sh
might solve it: