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
try version 1.1, 1.2, 1.3 but never see the toolbar #6
Comments
Hey @ericfran , |
Hi,
Ok thanks will check in coming days.
But I didn’t saw it …. 😔
Regards
Eric
… On 7 Aug 2021, at 16:48, Dani ***@***.***> wrote:
Hey @ericfran ,
You can see a tab on the right side of any HTML page (e.g. Swagger UI /docs), please click it to open the toolbar.
The tab can also be dragged up or down to place it wherever you like.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
if you can't see it.. let me know :) |
Hi! I have the same issue! INFO: 172.18.0.1:36844 - "GET /css/toolbar.css HTTP/1.1" 304 Not Modified Could you please help me? This is my requirements.txt file alembic==1.11.3 Also, I'm using Docker to running the app with uvicorn main:app --reload --host 0.0.0.0 --port 8000 |
I discovered some things: I need to define the api_url y static_url to make the resources work, because uvicorn not work with _ or create de 304.
But the problem is that app not load the docs URI... I think that is a uvicorn problem |
Hi,
I try it in a very simple Fastapi apps alike:
from debug_toolbar.middleware import DebugToolbarMiddleware
from fastapi import FastAPI
app = FastAPI(debug=True)
app.add_middleware(DebugToolbarMiddleware)
@app.get("/")
async def root():
return {"message": "Hello World"}
start with :uvicorn main :app
and doesn't works , I don't see the toolbar
logs:
INFO: Application startup complete.
INFO: 127.0.0.1:61005 - "GET / HTTP/1.1" 200 OK
INFO: 127.0.0.1:61005 - "GET /docs HTTP/1.1" 200 OK
INFO: 127.0.0.1:61005 - "GET /_debug_toolbar/static/css/toolbar.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:50609 - "GET /_debug_toolbar/static/js/toolbar.js HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:61063 - "GET /_debug_toolbar/static/js/refresh.js HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:60063 - "GET /_debug_toolbar/static/img/icon-white.svg HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:61063 - "GET /_debug_toolbar/static/css/print.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:60063 - "GET /openapi.json HTTP/1.1" 200 OK
The text was updated successfully, but these errors were encountered: