The goal of this PR is to clean up the server.js files routes to not be all in the same file and instead be in their own routed files.
Right now, only the following endpoints are routed:
api/players/*
api/avatar/*
api/images/*
api/settings/*
api/gamesessions/*
api/relationships/*
This also brings a change i've should have done a long time ago where the variables for the User ID and Platform ID are now in the request instead of changing a local variable (why didn't i do it like that to start with)
The goal of this PR is to clean up the
server.js
files routes to not be all in the same file and instead be in their own routed files.Right now, only the following endpoints are routed:
api/players/*
api/avatar/*
api/images/*
api/settings/*
api/gamesessions/*
api/relationships/*
This also brings a change i've should have done a long time ago where the variables for the User ID and Platform ID are now in the request instead of changing a local variable (why didn't i do it like that to start with)