erquhartE
Convex Community2y ago
5 replies
erquhart

Some URL methods not supported in convex runtime

I'm using normalize-url, which works both in Node and the web - it looks like some of the web URL api isn't supported. I have a number of places to normalize url inputs and pushing that through an action is going to be pretty loopy.

Curious if support is in the cards.

Not implemented: set username for URL. Consider calling an action defined in Node.js instead (https://docs.convex.dev/functions/actions).


The offending library code:

const urlObject = new URL(urlString);
urlObject.username = ''
Was this page helpful?