Merge pull request #1450 from adamoutler/reverse-proxy-20212

Enable proxies on docs
This commit is contained in:
Jokob @NetAlertX
2026-01-25 17:04:10 +11:00
committed by GitHub

View File

@@ -16,7 +16,8 @@
<script>
window.onload = () => {
window.ui = SwaggerUIBundle({
url: '/openapi.json',
// Use a relative path so the UI works whether served at /docs or /server/docs
url: 'openapi.json',
dom_id: '#swagger-ui',
deepLinking: true,
presets: [