Skip to content

A continuation of HomeBox the inventory and organization system built for the Home User

Stoplight being stupid with BaseURL

Katos733d1c5f7747
diff --git a/docs/en/api.md b/docs/en/api.md
index 71743bd0..71866e4f 100644
--- a/docs/en/api.md
+++ b/docs/en/api.md
@@ -10,6 +10,9 @@ import { useData } from 'vitepress';
// Reactive key for re-rendering the elements-api component
const componentKey = ref(0);
+// Set BaseURL
+const BaseURL = "https://demo.homebox.software/api";
+
// Access dark mode setting from VitePress
const { isDark } = useData();
const theme = ref(isDark.value ? 'dark' : 'light');
@@ -52,6 +55,6 @@ document.head.appendChild(elementStyle);
layout="responsive"
hideSchemas="true"
:data-theme="theme"
- tryItBaseUrl="https://demo.homebox.software/api"
+ :tryItBaseUrl="demoBaseUrl"
/>
</client-only>