Skip to content

Commit

Permalink
fix: load trailing slash option from server even when there's no load…
Browse files Browse the repository at this point in the history
… function
  • Loading branch information
GingerAdonis committed Aug 11, 2023
1 parent e421b2c commit 5e9963f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/kit/src/core/postbuild/analyse.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ async function analyse({ manifest_path, env }) {
const node = await loader();

metadata.nodes[node.index] = {
has_server_load: node.server?.load !== undefined
has_server_load: node.server?.load !== undefined || node.server?.trailingSlash !== undefined
};
}

Expand Down

0 comments on commit 5e9963f

Please sign in to comment.