Skip to content

Commit

Permalink
set default clash panel url to xray4magisk default setting(http://127…
Browse files Browse the repository at this point in the history
  • Loading branch information
whalechoi committed Sep 27, 2024
1 parent 5e36c03 commit 3296915
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/Manage.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<template>
<!-- clash显示外部连接,xray模仿v2rayNG做一个丐版 -->
<iframe v-if="iframeShow" :src="panelUrl" style="min-height: 85vh;min-width: 100vw;" frameborder="no" border="0"
marginwidth="0" marginheight="0" scrolling="no" allowtransparency="yes"></iframe>
<div v-if="iframeShow">
<iframe :src="panelUrl" style="min-height: 88vh;min-width: 100vw;" frameborder="no" border="0"
marginwidth="0" marginheight="0" scrolling="no" allowtransparency="yes"></iframe>
</div>
<div v-if="xrayUIShow">
<van-nav-bar style="top: 46px;" fixed>
<template #left>
Expand Down Expand Up @@ -104,7 +106,7 @@ const actions = [
{ text: i18n.global.t('manage.more-setting'), value: 'setting', disabled: true },
];
const panelUrl = ref('https://clash.razord.top/#/proxies')
const panelUrl = ref('http://127.0.0.1:65532/ui')
const getConfig = async () => {
return await readFile(XRAYHELPER_CONFIG).then(value => {
Expand Down

0 comments on commit 3296915

Please sign in to comment.