openapi: finally fixing url sh..tuff? #804

This commit is contained in:
Sören Weber 2024-03-16 14:53:15 +01:00
parent b178d3ea99
commit 4da0ebbaf8
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D

View file

@ -1523,9 +1523,6 @@ if( window.themeUseMermaid ){
}
function useOpenapi( config ){
if( config.css && config.css.startsWith( '/' ) ){
config.css = window.relearn.baseUri + config.css;
}
}
if( window.themeUseOpenapi ){
useOpenapi( window.themeUseOpenapi );