bcci commited on
Commit
dd5e687
·
verified ·
1 Parent(s): 51bbabe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def convert_html_to_md(html):
28
 
29
  # GET endpoint to /read/{url:path} expecting URL in path
30
  @app.get("/read/{url:path}", response_class=PlainTextResponse)
31
- async def get_markdown_get(url: str):
32
  try:
33
  # Retrieve the full path from the request
34
  full_url = str(request.url)
 
28
 
29
  # GET endpoint to /read/{url:path} expecting URL in path
30
  @app.get("/read/{url:path}", response_class=PlainTextResponse)
31
+ async def get_markdown_get(request: Request, url: str):
32
  try:
33
  # Retrieve the full path from the request
34
  full_url = str(request.url)