mirror of
https://github.com/itdoginfo/podkop.git
synced 2026-03-14 06:22:52 +03:00
fix: force http for clash api
This commit is contained in:
@@ -763,8 +763,8 @@ async function onMount(id) {
|
||||
|
||||
// src/helpers/getClashApiUrl.ts
|
||||
function getClashApiUrl() {
|
||||
const { protocol, hostname } = window.location;
|
||||
return `${protocol}//${hostname}:9090`;
|
||||
const { hostname } = window.location;
|
||||
return `http://${hostname}:9090`;
|
||||
}
|
||||
function getClashWsUrl() {
|
||||
const { hostname } = window.location;
|
||||
|
||||
Reference in New Issue
Block a user