svelte-adapter-firebase icon indicating copy to clipboard operation
svelte-adapter-firebase copied to clipboard

bug: [breaking change] sveltekit 1.0.0-next.539

Open Nushio opened this issue 2 years ago • 0 comments

Describe the Bug

Omit prerendered routes from server manifest

With this change, the prerendered routes are no longer known/available in the svelte-adapter-firebase ssr function. When the browser makes a request to firebase hosting, instead it gets directed to the ssr function, which no longer knows "what" to do, and returns an error instead such as:

Error: Not found: /

Steps to Reproduce

  1. Create a new sveltekit app, with sveltekit 1.0.0-next.539 or above
  2. Create a prerendered route, such as /
  3. Visit said pre-rendered route

Other non-prerendered routes are 'safe'

Expected Behaviour

The app works as intended and serves the route.

svelte-adapter-firebase version

0.14.4

sveltejs/kit version

1.0.0-next.539

Nushio avatar Nov 15 '22 21:11 Nushio