22285461@qq.com 6 bulan lalu
induk
melakukan
7fdc04adad
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      main.py

+ 1 - 1
main.py

@@ -295,7 +295,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)