Gregniuki commited on
Commit
7ab98f2
·
1 Parent(s): 1fe440b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -21,11 +21,12 @@ from fastapi.staticfiles import StaticFiles
21
 
22
  # ...
23
  # Mount a directory to serve static files (e.g., CSS and JavaScript)
24
- app.mount("/static", StaticFiles(directory="static"), name="static")
25
 
26
  import logging
27
 
28
  app = FastAPI()
 
29
  templates = Jinja2Templates(directory="templates")
30
  files = {}
31
  # Configure logging
 
21
 
22
  # ...
23
  # Mount a directory to serve static files (e.g., CSS and JavaScript)
24
+
25
 
26
  import logging
27
 
28
  app = FastAPI()
29
+ app.mount("/static", StaticFiles(directory="static"), name="static")
30
  templates = Jinja2Templates(directory="templates")
31
  files = {}
32
  # Configure logging