TypeError: niceurl.replaceAll is not a function at handleRequest (worker.js:28:23) at worker.js:3:5