|
|
|
|
@ -123,8 +123,8 @@ def end_test(password: str):
|
|
|
|
|
else:
|
|
|
|
|
return("Неверный пароль")
|
|
|
|
|
|
|
|
|
|
app.mount("/", StaticFiles(directory="gui", html = True), name="gui") # must be after method since it uses them
|
|
|
|
|
app.mount("/pictures", StaticFiles(directory="pictures"), name="pictures") # must be after method since it uses them
|
|
|
|
|
app.mount("/pictures", StaticFiles(directory="pictures"), name="pictures")
|
|
|
|
|
app.mount("/", StaticFiles(directory="gui", html = True), name="gui") # must be after all since root route will fill all empty routes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|