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

+ 1 - 1
main.py

@@ -295,7 +295,7 @@ async def test(request: Request):
     request_origin = request.headers.get('origin')
     request_origin = request.headers.get('origin')
     if request_origin is None:
     if request_origin is None:
         request_origin = "unknown"
         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}
     headers = {'Access-Control-Allow-Origin': request_origin}
     try:
     try:
         database.connect(reuse_if_open=True)
         database.connect(reuse_if_open=True)