Using domain causes CORS issues
I have built a brand-new V3 admin using a custom (sub)-domain. However, I get a CORS error when using certain functionality, because JS for them are loaded using
asset() which looks at the .env APP_URL, which is the main applications URL, not my subdomain. How can I fix this?