-
-
Notifications
You must be signed in to change notification settings - Fork 384
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
swagger-ui 敢不敢不要把资源写死 #14
Comments
@lqx131499 I'm not sure I understand the issue... |
I mean to make the referenced resources configurable, because the network in many places is not connected to the Internet. Location: Lib\site-packages\ninja\templates\ninja\swagger.html Where needs to be configured: <script src="https://cdn.jsdelivr.net/npm/swagger-ui-dist@3/swagger-ui-bundle.js"></script> |
23333333 |
this should work now Please install latest version, and put (Note: if ninja is in INSALLED_APPS - then local js files will be used instead of CDN) |
ok thanks💪🏻💪🏻💪🏻💪🏻💪🏻 |
C:\thirds\Python37\Lib\site-packages\ninja\templates\ninja\swagger.html
<script src="https://cdn.jsdelivr.net/npm/swagger-ui-dist@3/swagger-ui-bundle.js"></script>The text was updated successfully, but these errors were encountered: