reverse kiri redirects
This commit is contained in:
parent
c434adf0c9
commit
127c0451c5
1 changed files with 6 additions and 6 deletions
|
|
@ -1217,12 +1217,12 @@ modPaths.forEach(fn => {
|
||||||
|
|
||||||
// add the rest of the handler chain
|
// add the rest of the handler chain
|
||||||
handler.use(fullpath({
|
handler.use(fullpath({
|
||||||
"/meta/index.html" : redir("/meta"),
|
"/meta/index.html" : redir("/meta/"),
|
||||||
"/kiri/index.html" : redir("/kiri"),
|
"/kiri/index.html" : redir("/kiri/"),
|
||||||
"/kiri/" : redir("/kiri"),
|
"/kiri" : redir("/kiri/"),
|
||||||
"/meta/" : redir("/meta"),
|
"/meta" : redir("/meta/"),
|
||||||
"/meta" : remap("/meta/index.html"),
|
"/meta/" : remap("/meta/index.html"),
|
||||||
"/kiri" : remap("/kiri/index.html")
|
"/kiri/" : remap("/kiri/index.html")
|
||||||
}))
|
}))
|
||||||
.use(prepath([
|
.use(prepath([
|
||||||
[ "/space", redir("/meta/")],
|
[ "/space", redir("/meta/")],
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue