I need to open a new window from within my Tauri app that doesn't have a URL (it's a PictureInPicture window, so window.location.href is about:blank and window.location.origin is null), so any static asset being loaded from within this window will not have a referrer / origin. Tauri unfortunately refuses these requests - is there an easy way to allow static asset requests with a blank origin?
#Trying to load assets from an `about:blank` pop-up fails due to lack of origin - how to allow this?
4 messages · Page 1 of 1 (latest)
@chilly seal maybe? 😬 unfortunately neither the docs nor AI was helpful and I couldn't find any solutions on this server either
hmm, nothing "easy" comes to mind here. really the only thing i can think of is writing your own custom protocol handler that doesn't check the origin. Either way, please create a GitHub issue for this. I don't think there's one yet.
thanks! will create a GH issue for this 🙂