peterspackman commited on
Commit
130c740
·
1 Parent(s): 016b2bb

Migrate pdfs location

Browse files
marimo/app.py CHANGED
@@ -28,7 +28,7 @@ marimo_server = (
28
  @app.get("/download-pdf/{pdf_name}")
29
  async def download_pdf(pdf_name: str):
30
  # Assuming PDFs are stored in a 'pdfs' directory
31
- pdf_path = f"../pdfs/{pdf_name}"
32
 
33
  if os.path.exists(pdf_path):
34
  return FileResponse(
 
28
  @app.get("/download-pdf/{pdf_name}")
29
  async def download_pdf(pdf_name: str):
30
  # Assuming PDFs are stored in a 'pdfs' directory
31
+ pdf_path = f"./pdfs/{pdf_name}"
32
 
33
  if os.path.exists(pdf_path):
34
  return FileResponse(
{pdfs → marimo/pdfs}/LabManualCHEM2000-1.pdf RENAMED
File without changes
{pdfs → marimo/pdfs}/NotesOfStatistics-1.pdf RENAMED
File without changes
{pdfs → marimo/pdfs}/calendar.pdf RENAMED
File without changes
{pdfs → marimo/pdfs}/python_primer.pdf RENAMED
File without changes