Support non-root base path
This commit is contained in:
parent
3bb0a6287f
commit
297e343264
4 changed files with 8 additions and 6 deletions
|
|
@ -36,7 +36,7 @@ module.exports = function($window) {
|
|||
switch (type) {
|
||||
case "#": return normalize("hash").slice(prefix.length)
|
||||
case "?": return normalize("search").slice(prefix.length) + normalize("hash")
|
||||
default: return normalize("pathname") + normalize("search") + normalize("hash")
|
||||
default: return normalize("pathname").slice(prefix.length) + normalize("search") + normalize("hash")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue