|
@@ -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)
|