diff --git a/js/common.js b/js/common.js index f6467fc..8c3b81c 100644 --- a/js/common.js +++ b/js/common.js @@ -46,11 +46,11 @@ function $ajaxget(url, data) { return new Promise((resolve, reject) => { axios .get(url, { + headers: { + "Cache-Control": "max-age=3600", + }, emulateJSON: true, withCredentials: true, - // headers: { - // "Cache-Control": "max-age=3600", - // }, }) .then((res) => { var data = typeof res.data == "string" ? JSON.parse(res.data) : res.data;