22285461@qq.com 6 months ago
parent
commit
9f6184b926
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main.py

+ 1 - 1
main.py

@@ -296,7 +296,7 @@ async def test(request: Request):
     request_origin = request.headers.get('origin')
     if request_origin is None:
         request_origin = "unknown"
-    content = {"message": "Hello World" + request_origin, "db": "disconnect!!"}
+    content = {"message": "Hello World" + request_origin, "db": "disconnect!!"}
     headers = {'Access-Control-Allow-Origin': request_origin}
     try:
         database.connect(reuse_if_open=True)