You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have very simple endpoint with a GET handler that response with basic HTML. The path is src/routes/skus/+server.js. I'm using adapter-static for this, so I've added an export const prerender = true; to the top of the file.
The endpoint gets prerendered, but instead of being build/skus/index.html, like the other routes due to trailingSlash: true, the resulting file is build/skus.html.
This behavior only appeared since upgrading to 1.0.0-next.462.
Anyway to get it to output to build/skus/index.html?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I have very simple endpoint with a
GET
handler that response with basic HTML. The path issrc/routes/skus/+server.js
. I'm usingadapter-static
for this, so I've added anexport const prerender = true;
to the top of the file.The endpoint gets prerendered, but instead of being
build/skus/index.html
, like the other routes due totrailingSlash: true
, the resulting file isbuild/skus.html
.This behavior only appeared since upgrading to
1.0.0-next.462
.Anyway to get it to output to
build/skus/index.html
?Beta Was this translation helpful? Give feedback.
All reactions