braebo / sveltekit-electron

Minimal Sveltekit + Electron starter template.
MIT License
269 stars 27 forks source link

Update adapter setting in svelte.config.js #27

Closed Eudritch closed 1 year ago

Eudritch commented 1 year ago

fallback option by default is null.  When executing build, "npm run build," fallback is needed.

braebo commented 1 year ago

Much appreciated, thank you!

ghostdevv commented 1 year ago

Isn't fallback supposed to be a string?

Eudritch commented 1 year ago

Isn't fallback supposed to be a string?

When you want to redirect it to the fallback page, it is a string, '200.html'. Otherwise, it is a Boolean, and SvelteKit __error.svelte is used.