Ver código fonte

add test env and alert()

ming 3 anos atrás
pai
commit
e1586e347e
1 arquivos alterados com 3 adições e 0 exclusões
  1. 3 0
      main.py

+ 3 - 0
main.py

@@ -101,6 +101,9 @@ async def root():
 @app.get("/index2")
 @app.get("/index2")
 async def index2():
 async def index2():
     return FileResponse('index2.html')
     return FileResponse('index2.html')
+@app.get("/index3")
+async def index2():
+    return FileResponse('index3.html')
 @app.get("/script_msg.js")
 @app.get("/script_msg.js")
 async def index2():
 async def index2():
     return FileResponse('script_msg.js')
     return FileResponse('script_msg.js')