nuxt-hub / core

Build full-stack applications with Nuxt on CloudFlare, with zero configuration.
https://hub.nuxt.com
Apache License 2.0
802 stars 35 forks source link

Question: Any way to access hubBlob() other way then via /server/api? #151

Closed FutureExcited closed 2 weeks ago

FutureExcited commented 3 weeks ago

My app works perfectly on the web, but when I try to port it to desktop via Tauri, I cannot use /server/api.

Because tauri doesn't support ssr.

So is there any way to use hubBlob() not on a server? Or some kind of workaround? Any way at all?

Atinux commented 2 weeks ago

The only solution I can think of for Tauri is to use your API deployed for your web project @FutureExcited

FutureExcited commented 2 weeks ago

Yeah, that's the way I currently do it. Works with no problems, except obviously an additional delay for calling the server.