From 39f777344e8a3fa8ee23afc5dad8c6448fe78984 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 8 Jun 2023 13:07:19 +0800 Subject: [PATCH] bugfix --- ahserver/baseProcessor.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ahserver/baseProcessor.py b/ahserver/baseProcessor.py index a3ae79c..0098f9c 100755 --- a/ahserver/baseProcessor.py +++ b/ahserver/baseProcessor.py @@ -80,9 +80,9 @@ class BaseProcessor(AppLogger): return self.content def set_response_headers(self, response): - response.headers['Access-Control-Expose-Headers'] = 'AIOHTTP_SESSION' - response.headers['Access-Control-Allow-Credentials'] = 'true' - response.headers['Access-Control-Allow-Origin'] = '47.93.12.75' + response.headers['Access-Control-Expose-Headers'] = 'Set-Cookie' + # response.headers['Access-Control-Allow-Credentials'] = 'true' + # response.headers['Access-Control-Allow-Origin'] = '47.93.12.75' async def handle(self,request): await self.execute(request)