gitscope
← marzneshin / v0.3.0-alpha4 / 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        security: 'none',
12        alpn: 'none',
13        allowinsecure: false,
14        fingerprint: 'none',
15    }
16};