[build] 4.1.0
This commit is contained in:
parent
7e169ad154
commit
1ae0a9a845
3 changed files with 5 additions and 5 deletions
|
|
@ -3493,11 +3493,11 @@ var HTML5History = (function (History$$1) {
|
||||||
path = path.slice(0, queryIndex);
|
path = path.slice(0, queryIndex);
|
||||||
}
|
}
|
||||||
|
|
||||||
var base = getPath(location.origin, this.getBasePath());
|
var base = getPath(location.origin);
|
||||||
var baseIndex = path.indexOf(base);
|
var baseIndex = path.indexOf(base);
|
||||||
|
|
||||||
if (baseIndex > -1) {
|
if (baseIndex > -1) {
|
||||||
path = path.slice(baseIndex + base.length - 1);
|
path = path.slice(baseIndex + base.length);
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
4
lib/docsify.min.js
vendored
4
lib/docsify.min.js
vendored
File diff suppressed because one or more lines are too long
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "docsify-server-renderer",
|
"name": "docsify-server-renderer",
|
||||||
"version": "4.0.2",
|
"version": "4.1.0",
|
||||||
"description": "docsify server renderer",
|
"description": "docsify server renderer",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "qingwei-li",
|
"name": "qingwei-li",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue