fix hysteria2 masquerade options
This commit is contained in:
@@ -77,12 +77,12 @@
|
|||||||
</v-text-field>
|
</v-text-field>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col cols="12" sm="6" md="4">
|
<v-col cols="12" sm="6" md="4">
|
||||||
<v-text-field
|
<v-switch
|
||||||
label="Rewrite Host"
|
label="Rewrite Host"
|
||||||
placeholder="example.com"
|
|
||||||
v-model="data.masquerade.rewrite_host"
|
v-model="data.masquerade.rewrite_host"
|
||||||
|
color="primary"
|
||||||
hide-details>
|
hide-details>
|
||||||
</v-text-field>
|
</v-switch>
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
<template v-if="masqueradeType == 'string'">
|
<template v-if="masqueradeType == 'string'">
|
||||||
|
|||||||
@@ -169,7 +169,7 @@ export interface Hysteria2 extends InboundBasics {
|
|||||||
type: string
|
type: string
|
||||||
directory?: string
|
directory?: string
|
||||||
url?: string
|
url?: string
|
||||||
rewrite_host?: string
|
rewrite_host?: boolean
|
||||||
status_code?: number
|
status_code?: number
|
||||||
headers?: Headers[]
|
headers?: Headers[]
|
||||||
content?: string
|
content?: string
|
||||||
|
|||||||
Reference in New Issue
Block a user