- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for urlpkg (0.05 sec)
-
docs_src/custom_docs_ui/tutorial001.py
openapi_url=app.openapi_url, title=app.title + " - Swagger UI", oauth2_redirect_url=app.swagger_ui_oauth2_redirect_url, swagger_js_url="https://unpkg.com/swagger-ui-dist@5/swagger-ui-bundle.js", swagger_css_url="https://unpkg.com/swagger-ui-dist@5/swagger-ui.css", ) @app.get(app.swagger_ui_oauth2_redirect_url, include_in_schema=False) async def swagger_ui_redirect():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu May 23 22:59:02 UTC 2024 - 1.1K bytes - Viewed (0) -
tests/test_tutorial/test_custom_docs_ui/test_tutorial001.py
def test_swagger_ui_html(client: TestClient): response = client.get("/docs") assert response.status_code == 200, response.text assert "https://unpkg.com/swagger-ui-dist@5/swagger-ui-bundle.js" in response.text assert "https://unpkg.com/swagger-ui-dist@5/swagger-ui.css" in response.text def test_swagger_ui_oauth2_redirect_html(client: TestClient): response = client.get("/docs/oauth2-redirect")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu May 23 22:59:02 UTC 2024 - 1.3K bytes - Viewed (0) -
internal/config/browser/browser.go
// DefaultKVS - default storage class config var ( DefaultKVS = config.KVS{ config.KV{ Key: browserCSPPolicy, Value: "default-src 'self' 'unsafe-eval' 'unsafe-inline'; script-src 'self' https://unpkg.com; connect-src 'self' https://unpkg.com;", }, config.KV{ Key: browserHSTSSeconds, Value: "0", }, config.KV{ Key: browserHSTSIncludeSubdomains, Value: config.EnableOff, }, config.KV{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 21 00:58:58 UTC 2024 - 5.9K bytes - Viewed (0) -
docs/en/docs/how-to/custom-docs-ui-assets.md
## Custom CDN for JavaScript and CSS Let's say that you want to use a different <abbr title="Content Delivery Network">CDN</abbr>, for example you want to use `https://unpkg.com/`. This could be useful if for example you live in a country that restricts some URLs. ### Disable the automatic docs The first step is to disable the automatic docs, as by default, those use the default CDN.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Oct 28 10:42:34 UTC 2024 - 7.3K bytes - Viewed (0) -
docs/de/docs/how-to/custom-docs-ui-assets.md
## Benutzerdefiniertes CDN für JavaScript und CSS Nehmen wir an, Sie möchten ein anderes <abbr title="Content Delivery Network">CDN</abbr> verwenden, zum Beispiel möchten Sie `https://unpkg.com/` verwenden. Das kann nützlich sein, wenn Sie beispielsweise in einem Land leben, in dem bestimmte URLs eingeschränkt sind. ### Die automatischen Dokumentationen deaktivieren
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.2K bytes - Viewed (0) -
docs/pt/docs/how-to/custom-docs-ui-assets.md
## CDN Personalizado para JavaScript e CSS Vamos supor que você deseja usar um <abbr title="Content Delivery Network">CDN</abbr> diferente, por exemplo, você deseja usar `https://unpkg.com/`. Isso pode ser útil se, por exemplo, você mora em um país que restringe algumas URLs. ### Desativar a documentação automática
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Oct 18 12:02:35 UTC 2024 - 8.4K bytes - Viewed (0)