aboutsummaryrefslogtreecommitdiff
path: root/web/pw-server/src/routes
diff options
context:
space:
mode:
authorIlion Beyst <ilion.beyst@gmail.com>2022-09-11 10:56:36 +0200
committerIlion Beyst <ilion.beyst@gmail.com>2022-09-11 10:56:36 +0200
commit66162ea43c40ad4f404a9e1b936fbb157e876b97 (patch)
treef5bbd137f7afbb50fdeb56e8a3066cf107597d62 /web/pw-server/src/routes
parent9e574f08eee8e15cb7f1e8240463ace0d529dbdf (diff)
downloadplanetwars.dev-66162ea43c40ad4f404a9e1b936fbb157e876b97.tar.xz
planetwars.dev-66162ea43c40ad4f404a9e1b936fbb157e876b97.zip
redirect /docs to /docs/rules
Diffstat (limited to 'web/pw-server/src/routes')
-rw-r--r--web/pw-server/src/routes/docs/index.svelte8
1 files changed, 8 insertions, 0 deletions
diff --git a/web/pw-server/src/routes/docs/index.svelte b/web/pw-server/src/routes/docs/index.svelte
new file mode 100644
index 0000000..7401de3
--- /dev/null
+++ b/web/pw-server/src/routes/docs/index.svelte
@@ -0,0 +1,8 @@
+<script context="module">
+ export async function load() {
+ return {
+ status: 302,
+ redirect: "/docs/rules"
+ }
+ }
+</script> \ No newline at end of file