Skip to content

Commit 09be000

Browse files
committed
Updated docs to request api status from relative path.
1 parent 3985577 commit 09be000

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

dist/docs/index.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/docs/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/docs/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class DocsPage {
3535

3636
// Display current status and version for this xBrowserSync service
3737
try {
38-
const response = await fetch('/info');
38+
const response = await fetch(`${location.pathname}info`);
3939
if (!response.ok) {
4040
throw new Error(response.statusText);
4141
}

0 commit comments

Comments
 (0)