hasancode-api-docs 1.0.14 → 1.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -254,7 +254,7 @@ class ApiDoc {
|
|
|
254
254
|
? this.DOCS_PATH
|
|
255
255
|
: `/${this.DOCS_PATH}`;
|
|
256
256
|
const fullPath = (mountPath + docsPath).replace(/\/+$/, "");
|
|
257
|
-
const baseTag = `<base href="${fullPath}">`;
|
|
257
|
+
const baseTag = `<base href="${fullPath}/">`;
|
|
258
258
|
// Insert or replace base tag
|
|
259
259
|
if (html.includes("<base ")) {
|
|
260
260
|
html = html.replace(/<base[^>]*>/i, baseTag);
|