mirror of
https://github.com/itdoginfo/podkop.git
synced 2026-01-01 14:19:00 +03:00
feat: implement fake ip check mock
This commit is contained in:
@@ -2694,6 +2694,18 @@ async function runNftCheck() {
|
||||
}
|
||||
}
|
||||
|
||||
// src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts
|
||||
async function runFakeIPCheck() {
|
||||
const code = "fake_ip_check";
|
||||
updateDiagnosticsCheck({
|
||||
code,
|
||||
title: _("Fake IP checks"),
|
||||
description: _("Not implemented yet"),
|
||||
state: "skipped",
|
||||
items: []
|
||||
});
|
||||
}
|
||||
|
||||
// src/podkop/tabs/diagnostic/initDiagnosticController.ts
|
||||
async function renderDiagnosticsChecks() {
|
||||
console.log("renderDiagnosticsChecks");
|
||||
@@ -2715,6 +2727,7 @@ async function runChecks() {
|
||||
await runDnsCheck();
|
||||
await runSingBoxCheck();
|
||||
await runNftCheck();
|
||||
await runFakeIPCheck();
|
||||
}
|
||||
async function initDiagnosticController() {
|
||||
onMount("diagnostic-status").then(() => {
|
||||
|
||||
Reference in New Issue
Block a user