Skip to content

Commit 4a2fab8

Browse files
authored
[Workers] Fix asgi.py link (#26796)
- Change the url for `asgi.py` file to the correct location, the previous one throws a 404 page
1 parent 7177b99 commit 4a2fab8

File tree

1 file changed

+1
-1
lines changed
  • src/content/docs/workers/languages/python/packages

1 file changed

+1
-1
lines changed

src/content/docs/workers/languages/python/packages/fastapi.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The FastAPI package is supported in Python Workers.
1212

1313
FastAPI applications use a protocol called the [Asynchronous Server Gateway Interface (ASGI)](https://asgi.readthedocs.io/en/latest/). This means that FastAPI never reads from or writes to a socket itself. An ASGI application expects to be hooked up to an ASGI server, typically [uvicorn](https://www.uvicorn.org/). The ASGI server handles all of the raw sockets on the application’s behalf.
1414

15-
The Workers runtime provides [an ASGI server](https://github.com/cloudflare/workerd/blob/main/src/pyodide/internal/asgi.py) directly to your Python Worker, which lets you use FastAPI in Python Workers.
15+
The Workers runtime provides [an ASGI server](https://github.com/cloudflare/workerd/blob/main/src/pyodide/internal/workers-api/src/asgi.py) directly to your Python Worker, which lets you use FastAPI in Python Workers.
1616

1717
## Get Started
1818

0 commit comments

Comments
 (0)