From fa048d35e22b348e8021c6f7ecc19be03d1da512 Mon Sep 17 00:00:00 2001 From: Alnotz Date: Sun, 22 Dec 2024 17:00:01 +0100 Subject: [PATCH] Trying to add redirection --- sws/config.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sws/config.toml b/sws/config.toml index 683fb6d..0d3af71 100644 --- a/sws/config.toml +++ b/sws/config.toml @@ -7,3 +7,11 @@ root = "./" #### List of index files index-files = "index.html" + +[advanced] + +#### Redirects +[[advanced.rewrites]] +source = "/" +destination = "/index.html" +redirect = 301 \ No newline at end of file