Skip to content

Commit 2370a30

Browse files
authored
fix: correct API base URL on /docs/api page (#1349)
Fixes #1126 Signed-off-by: Aofei Sheng <[email protected]>
1 parent 546838b commit 2370a30

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

.github/workflows/publish-docker-image.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ on:
33
push:
44
branches:
55
- dev
6-
paths-ignore:
7-
- 'docs/**'
86
jobs:
97
publish-docker-image:
108
runs-on: ubuntu-latest

.github/workflows/validate.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,9 @@ on:
44
push:
55
branches:
66
- '**'
7-
paths-ignore:
8-
- 'docs/**'
97
pull_request:
108
branches:
119
- '**'
12-
paths-ignore:
13-
- 'docs/**'
1410

1511
jobs:
1612
spx-gui-lint:

spx-gui/src/pages/docs/api.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@ const configuration = reactive<ReferenceConfiguration>({
2424
pathRouting: {
2525
basePath: '/docs/api'
2626
},
27-
baseServerURL: apiBaseUrl
27+
servers: [
28+
{
29+
url: apiBaseUrl
30+
}
31+
]
2832
})
2933
</script>
3034

0 commit comments

Comments
 (0)