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 1c307d2 commit 98c9ff6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/routes/dev/+layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import {dev} from "$app/environment";
// Source: https://stackoverflow.com/a/73638129
// Source: https://stackoverflow.com/a/68074574

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

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

0 comments on commit 98c9ff6

Please sign in to comment.