Skip to content

Commit

Permalink
Try to fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
BenCheung0422 committed Jul 6, 2024
1 parent 98c9ff6 commit 5831414
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/routes/dev/+layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,16 @@ import {dev} from "$app/environment";
// Source: https://stackoverflow.com/a/73638129
// Source: https://stackoverflow.com/a/68074574

export function load() {
if (!dev) {
error(404, "Not Found");
}
}

// if (!dev) {
// error(404, "Not Found");
// }

export const prerender = dev;
// export const prerender = dev;
export const ssr = dev;
export const csr = dev;

0 comments on commit 5831414

Please sign in to comment.