mirror of
https://github.com/Li4n0/revsuit.git
synced 2026-09-25 08:01:54 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user