You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just downloaded the 2.10.1 release from github. It seems that several javascript and CSS paths are referenced using absolute paths that start with /dist/. This causes problems when swagger-editor is hosted somewhere other than the root of your web server. For example, in style.css:
url(/dist/ab28ef22f46ea6dfec154abb4be50aba.woff)
If I've deployed swagger-editor into a directory named swagger-editor, instead of requesting something like /swagger-editor/dist/ab28ef22f46ea6dfec154abb4be50aba.woff the request is for /dist/ab28ef22f46ea6dfec154abb4be50aba.woff which a 404.
The text was updated successfully, but these errors were encountered:
With 5408972 there will be only fonts that suffer from issue. That's an issue in Webpack's file-loader module which is reported here webpack-contrib/file-loader#62
Hello!
I just downloaded the 2.10.1 release from github. It seems that several javascript and CSS paths are referenced using absolute paths that start with
/dist/
. This causes problems when swagger-editor is hosted somewhere other than the root of your web server. For example, in style.css:If I've deployed swagger-editor into a directory named
swagger-editor
, instead of requesting something like/swagger-editor/dist/ab28ef22f46ea6dfec154abb4be50aba.woff
the request is for/dist/ab28ef22f46ea6dfec154abb4be50aba.woff
which a 404.The text was updated successfully, but these errors were encountered: