Expose the final (e.g. trailing '/') pageurl in server.js