gitscope
← marzneshin / v0.5.5 / dashboard/src/features/hosts/schema/get-default.ts
https://dev.kronoz.win/r/marzneshin.git
dashboard/src/features/hosts/schema/get-default.ts · TypeScript
Blame Raw
 1import { HostSchemaType } from "..";
 2
 3export const getDefaultValues = (): HostSchemaType => {
 4    return {
 5        host: '',
 6        sni: '',
 7        port: 8080,
 8        path: '',
 9        address: '',
10        remark: '',
11        fragment: null,
12        mux: false,
13        security: 'inbound_default',
14        alpn: "",
15        allowinsecure: false,
16        fingerprint: "",
17        is_disabled: false,
18    }
19};