fix(server/config): remove `path` variable from global scope

Closes #254