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
|
||||
handler.use(fullpath({
|
||||
"/meta/index.html" : redir("/meta"),
|
||||
"/kiri/index.html" : redir("/kiri"),
|
||||
"/kiri/" : redir("/kiri"),
|
||||
"/meta/" : redir("/meta"),
|
||||
"/meta" : remap("/meta/index.html"),
|
||||
"/kiri" : remap("/kiri/index.html")
|
||||
"/meta/index.html" : redir("/meta/"),
|
||||
"/kiri/index.html" : redir("/kiri/"),
|
||||
"/kiri" : redir("/kiri/"),
|
||||
"/meta" : redir("/meta/"),
|
||||
"/meta/" : remap("/meta/index.html"),
|
||||
"/kiri/" : remap("/kiri/index.html")
|
||||
}))
|
||||
.use(prepath([
|
||||
[ "/space", redir("/meta/")],
|
||||
|
|
|
|||
Loading…
Reference in a new issue