tec27/seatcamp

Server should deal with internal paths without being affected by CWD

Closed this issue · 0 comments

tec27 commented

There's a bunch of places where paths are specified relative to the CWD (which is not set anywhere, and thus is whatever the process started with). These paths should be changed to use __dirname, such that they aren't affected by whatever the CWD happens to be set to.