gitscope
https://dev.kronoz.win/r/marzneshin.git
dashboard/src/modules/hosts/dialogs/mutation/sections/tls-fields.tsx · v0.6.5
Source
1 d636f3f Dawsh 2y ago import { AllowInsecureField, AlpnField, SniField } from "../fields";
2 d636f3f Dawsh 2y ago import { SettingSection } from "@marzneshin/modules/hosts/components";
3 d636f3f Dawsh 2y ago import { useTranslation } from "react-i18next";
4 d636f3f Dawsh 2y ago import { FC } from 'react'
5 d636f3f Dawsh 2y ago
6 d636f3f Dawsh 2y ago export const TlsFields: FC = () => {
7 d636f3f Dawsh 2y ago const { t } = useTranslation();
8 d636f3f Dawsh 2y ago return (
9 d636f3f Dawsh 2y ago <SettingSection value="tls-settings" triggerText={t("page.hosts.tls-config")}>
10 d636f3f Dawsh 2y ago <SniField />
11 d636f3f Dawsh 2y ago <AlpnField />
12 d636f3f Dawsh 2y ago <AllowInsecureField />
13 d636f3f Dawsh 2y ago </SettingSection>
14 d636f3f Dawsh 2y ago )
15 d636f3f Dawsh 2y ago }