feat: add value field to the dns log (#67)

record resolve value of dns log to facilitate the observation of dns rebinding.
This commit is contained in:
Li4n0
2023-05-23 23:27:50 +08:00
committed by GitHub
parent c53ec79ccd
commit 223c14ab33
6 changed files with 38 additions and 16 deletions
+2 -2
View File
@@ -2,7 +2,7 @@ import axios from 'axios'
import {store} from "@/main";
const service = axios.create({
baseURL: location.pathname.slice(0, -'/admin/'.length) + "/api", // api的base_url
baseURL: "../api", // api的base_url
timeout: 5000, // request timeout
validateStatus: function (status) {
if (status === 403) {
@@ -12,4 +12,4 @@ const service = axios.create({
}
})
export default service
export default service