Skip to content

Commit 2e6d442

Browse files
committed
netlify.toml redirect trick
1 parent 770ce44 commit 2e6d442

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

netlify.toml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,22 @@
11
[[redirects]]
22
from = "/"
33
to = "/build/dokka/html/kotlin-unsigned"
4-
status = 302
4+
status = 200
5+
6+
[[redirects]]
7+
from = "/build/dokka/html/images"
8+
to = "/build/dokka/html/images/:splat"
9+
status = 200
10+
force = true
11+
12+
[[redirects]]
13+
from = "/build/dokka/html/scripts"
14+
to = "/build/dokka/html/scripts/:splat"
15+
status = 200
16+
force = true
17+
18+
[[redirects]]
19+
from = "/build/dokka/html/styles"
20+
to = "/build/dokka/html/styles/:splat"
21+
status = 200
22+
force = true

0 commit comments

Comments
 (0)