Fix swagger

Fix nitro prerender
This commit is contained in:
2025-10-11 21:48:42 +02:00
parent ec216bfb9f
commit 86e3399928
4 changed files with 11 additions and 5 deletions

View File

@@ -9,10 +9,11 @@ export default defineNuxtConfig({
openFetch: {
clients: {
api: {
baseURL: 'http://127.0.0.1:6531/',
baseURL: '/api/',
schema: 'https://raw.githubusercontent.com/C9Glax/tranga/refs/heads/testing/API/openapi/API_v2.json',
},
},
},
vite: { plugins: [tailwindcss()] },
nitro: { prerender: { failOnError: false } },
});