Skip to content

Commit

Permalink
chore: 移除无用的注释和代码
Browse files Browse the repository at this point in the history
  • Loading branch information
DyAxy committed Jul 31, 2024
1 parent d30f225 commit 8250d3a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
3 changes: 1 addition & 2 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ export default function Home() {
</div>
}>
<div className="flex flex-col gap-3">
{/* 订阅链接 */}
<Textarea
variant="bordered"
label="订阅链接"
Expand All @@ -131,7 +130,6 @@ export default function Home() {
value={params.url}
onValueChange={(value) => setParams({ ...params, url: value })}
/>
{/* 客户端 */}
<Autocomplete
variant="bordered"
label="软件类型"
Expand Down Expand Up @@ -165,6 +163,7 @@ export default function Home() {
</AutocompleteItem>
))}
</Autocomplete>
{/* 进阶模式 */}
{params.mode === 'hard' ? (<div className="flex flex-col gap-3">
<Autocomplete
variant="bordered"
Expand Down
1 change: 1 addition & 0 deletions components/SwitchCell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export const SwitchCell = ({
onValueChange: (value: boolean) => void
}) => (
<Switch
color="success"
classNames={{
base: cn(
"inline-flex flex-row-reverse max-w-full items-center",
Expand Down
12 changes: 7 additions & 5 deletions config.ts
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
export const config: Config = {
clients: {
自动识别: "auto",
Clash: "clash",
ClashR: "clashr",
Quantumult: "quan",
QuantumultX: "quanx",
Loon: "loon",
Mellow: "mellow",
ss: "ss",
sssub: "sssub",
ssd: "ssd",
ssr: "ssr",
Shadowsocks: "ss",
ShadowsocksSub: "sssub",
ShadowsocksD: "ssd",
ShadowsocksR: "ssr",
Surfboard: "surfboard",
Surge2: "surge&ver=2",
Surge3: "surge&ver=3",
Surge4: "surge&ver=4",
Trojan: "trojan",
V2Ray: "v2ray",
singbox: "singbox",
Singbox: "singbox",
混合订阅: "mixed"
},
switchCells: [
{ title: "TCP 快速打开", key: "tfo" },
Expand Down

0 comments on commit 8250d3a

Please sign in to comment.