fix: v not included before API version number
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
This commit is contained in:
parent
80f05bb514
commit
55f4f0401b
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ export default defineNuxtRouteMiddleware(async (to, from) => {
|
||||||
console.log("got gorb.txt:", gorbTxt.value);
|
console.log("got gorb.txt:", gorbTxt.value);
|
||||||
const parsed = parseWellKnown(gorbTxt.value as string);
|
const parsed = parseWellKnown(gorbTxt.value as string);
|
||||||
if (parsed.ApiBaseUrl) {
|
if (parsed.ApiBaseUrl) {
|
||||||
apiBase.value = `${parsed.ApiBaseUrl}/${apiVersion}`;
|
apiBase.value = `${parsed.ApiBaseUrl}/v${apiVersion}`;
|
||||||
console.log("set apiBase to:", parsed.ApiBaseUrl);
|
console.log("set apiBase to:", parsed.ApiBaseUrl);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue