erseux commited on
Commit
d95db96
·
1 Parent(s): 83d8ffe

changed folder for static

Browse files
Files changed (1) hide show
  1. main.py +2 -4
main.py CHANGED
@@ -7,8 +7,6 @@ from schema import Answer
7
  logger = logging.getLogger()
8
  logging.basicConfig(encoding='utf-8', level=logging.INFO)
9
 
10
- from pathlib import Path
11
-
12
  from fastapi import FastAPI, Request
13
  from fastapi.responses import HTMLResponse, JSONResponse
14
  from fastapi.middleware.cors import CORSMiddleware
@@ -27,8 +25,8 @@ import arel
27
  async def reload_data():
28
  print("Reloading server data...")
29
 
30
- static_path = "/static"
31
- template_path = "/templates"
32
 
33
  hotreload = arel.HotReload(
34
  paths=[
 
7
  logger = logging.getLogger()
8
  logging.basicConfig(encoding='utf-8', level=logging.INFO)
9
 
 
 
10
  from fastapi import FastAPI, Request
11
  from fastapi.responses import HTMLResponse, JSONResponse
12
  from fastapi.middleware.cors import CORSMiddleware
 
25
  async def reload_data():
26
  print("Reloading server data...")
27
 
28
+ static_path = "static"
29
+ template_path = "templates"
30
 
31
  hotreload = arel.HotReload(
32
  paths=[