# Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client when trying to setup redirects + handle 404