caoxiemeihao / nuxt-electron

Integrate Nuxt and Electron
MIT License
184 stars 21 forks source link

fix: override baseURL in Nitro #60

Closed OlaAlsaker closed 9 months ago

OlaAlsaker commented 9 months ago

https://github.com/nuxt/nuxt/pull/23841 breaks this package when building and running the app in production.

Setting nitro.runtimeConfig.app.baseURL to ./ will fix the problem, making nuxt-electron compatible with Nuxt 3.8.1 and up.

caoxiemeihao commented 9 months ago

Thanks for this PR, great!

tuquet commented 9 months ago

Thanks for this PR