Multiple domains on script worker rewrite links

I want to know, can I add multiple domains to const OLD_URL in the script rewrite links workers. does anyone know about that?

Thanks