mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 01:33:04 +00:00
openapi: finally fixing url sh..tuff? #804
This commit is contained in:
parent
b178d3ea99
commit
4da0ebbaf8
1 changed files with 0 additions and 3 deletions
|
@ -1523,9 +1523,6 @@ if( window.themeUseMermaid ){
|
||||||
}
|
}
|
||||||
|
|
||||||
function useOpenapi( config ){
|
function useOpenapi( config ){
|
||||||
if( config.css && config.css.startsWith( '/' ) ){
|
|
||||||
config.css = window.relearn.baseUri + config.css;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if( window.themeUseOpenapi ){
|
if( window.themeUseOpenapi ){
|
||||||
useOpenapi( window.themeUseOpenapi );
|
useOpenapi( window.themeUseOpenapi );
|
||||||
|
|
Loading…
Reference in a new issue