chore: change default test url

This commit is contained in:
MystiPanda
2024-06-01 23:14:47 +08:00
parent 80ff72bae1
commit a7cf968d04
3 changed files with 4 additions and 4 deletions

View File

@@ -189,7 +189,7 @@ export const MiscViewer = forwardRef<DialogRef>((props, ref) => {
spellCheck="false"
sx={{ width: 250 }}
value={values.defaultLatencyTest}
placeholder="http://1.1.1.1"
placeholder="http://www.apple.com/library/test/success.html"
onChange={(e) =>
setValues((v) => ({ ...v, defaultLatencyTest: e.target.value }))
}

View File

@@ -82,7 +82,7 @@ export const getProxyDelay = async (
) => {
const params = {
timeout: timeout || 10000,
url: url || "http://1.1.1.1",
url: url || "http://www.apple.com/library/test/success.html",
};
const instance = await getAxios();
const result = await instance.get(
@@ -250,7 +250,7 @@ export const getGroupProxyDelays = async (
) => {
const params = {
timeout: timeout || 10000,
url: url || "http://1.1.1.1",
url: url || "http://www.apple.com/library/test/success.html",
};
const instance = await getAxios();
const result = await instance.get(