Closed lukasturcani closed 1 month ago
also -- its probably worth only merging PRs with squash and merge -- so that the history of the main branch does not get contaminated with WIP commits. the other kinds of merge can be disabled in the settings for the repo
@lukasturcani I have finally got time to have a look on this.
It looks that you took the laborious route that I did not dare or was too lazy to take.
"Squash & Merge" makes sense but can't find where to disable the other commits.
Small PR to keep routes consistent between dev and prod environments.
The change rests on two main things
/api
. I think this makes more sense anyway, when someone readsnomad-rest-api/app.js
it is immediately clear what the correct routes are. As it currently stands the reader also has to have knowledge about how the app is deployed with nginx to know that the routes would need to be prefixed with/api/
if they wish to send requests to the backend./api/
from routes forwarded to the server. Because the backend explicitly serves routes prefixed with/api/
this bit of config is no longer necessary.Small optional changes:
version
indocker-compose.yaml
- my docker compose keeps complaining that this key is not longer supported