mirror of
https://github.com/McShelby/hugo-theme-relearn
synced 2025-04-30 14:18:01 +08:00
openapi: finally fixing url sh..tuff? #804
This commit is contained in:
parent
b178d3ea99
commit
4da0ebbaf8
@ -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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user