From 2ddb3a8a8eced62f437fab738284530a39978db7 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Wed, 9 Mar 2022 13:33:14 +0800 Subject: [PATCH] 1 --- webapp/controller/RestApiController.class.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webapp/controller/RestApiController.class.php b/webapp/controller/RestApiController.class.php index f86aaabd..f1bb0018 100644 --- a/webapp/controller/RestApiController.class.php +++ b/webapp/controller/RestApiController.class.php @@ -32,6 +32,9 @@ class RestApiController extends BaseController { $idx = strpos($requestUri, '/api/client'); if (!($idx === false)) { $url = 'https://test.cebg.games/client/web-mobile/'; + header("Cache-control:no-cache,no-store,must-revalidate"); + header("Pragma:no-cache"); + header("Expires:0"); Header("Location:$url"); } return;