diff options
| author | ivarlovlie <git@ivarlovlie.no> | 2022-10-09 18:37:14 +0200 |
|---|---|---|
| committer | ivarlovlie <git@ivarlovlie.no> | 2022-10-09 18:37:14 +0200 |
| commit | 1bb31b298cab4552446aca9957f9592a34b2134f (patch) | |
| tree | 69b5e1c81f8e0cf9c5e7b0c6a87c4b72d40316eb /code/app/src/routes/book/+layout.ts | |
| parent | 3104e70b3c5947a42baf124cf2c2230cf4acea79 (diff) | |
| download | greatoffice-1bb31b298cab4552446aca9957f9592a34b2134f.tar.xz greatoffice-1bb31b298cab4552446aca9957f9592a34b2134f.zip | |
refactor: Don't render /book in prod
Diffstat (limited to 'code/app/src/routes/book/+layout.ts')
| -rw-r--r-- | code/app/src/routes/book/+layout.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/code/app/src/routes/book/+layout.ts b/code/app/src/routes/book/+layout.ts new file mode 100644 index 0000000..d297dfd --- /dev/null +++ b/code/app/src/routes/book/+layout.ts @@ -0,0 +1,3 @@ +export const ssr = import.meta.env.DEV; +export const csr = import.meta.env.DEV; +export const prerender = import.meta.env.DEV;
\ No newline at end of file |
