Browse Source

add static img

ming 4 years ago
parent
commit
8a8d7e76bc
1 changed files with 1 additions and 0 deletions
  1. 1 0
      main.py

+ 1 - 0
main.py

@@ -48,6 +48,7 @@ app.add_middleware(
 )
 
 app.mount("/static", StaticFiles(directory="static"), name="static")
+app.mount("/static/img", StaticFiles(directory="static/img"), name="static/img")
 
 dir_sound = 'mp3_track/'
 dir_photo = 'photo/'