aboutsummaryrefslogtreecommitdiff
path: root/web/pw-server/src
diff options
context:
space:
mode:
authorIlion Beyst <ilion.beyst@gmail.com>2022-02-24 18:47:36 +0100
committerIlion Beyst <ilion.beyst@gmail.com>2022-02-24 18:47:36 +0100
commitb679103a4ce1ee87394c318f41b4cd12d2d41709 (patch)
treec9312a431c8f444d4944b720397c4ad36ba5cbe0 /web/pw-server/src
parentad11ae42865f12d411b34dd37c6b6949cc96a5ea (diff)
downloadplanetwars.dev-b679103a4ce1ee87394c318f41b4cd12d2d41709.tar.xz
planetwars.dev-b679103a4ce1ee87394c318f41b4cd12d2d41709.zip
update sveltekit version
Diffstat (limited to 'web/pw-server/src')
-rw-r--r--web/pw-server/src/hooks.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/web/pw-server/src/hooks.js b/web/pw-server/src/hooks.js
new file mode 100644
index 0000000..c5785ed
--- /dev/null
+++ b/web/pw-server/src/hooks.js
@@ -0,0 +1,8 @@
+/** @type {import('@sveltejs/kit').Handle} */
+export async function handle({ event, resolve }) {
+ const response = await resolve(event, {
+ ssr: false,
+ });
+
+ return response;
+} \ No newline at end of file