mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-02 16:56:39 +00:00
Show ssl toggle
This commit is contained in:
@@ -205,6 +205,7 @@ export default function ReverseProxyTargets(props: {
|
|||||||
}) {
|
}) {
|
||||||
const params = use(props.params);
|
const params = use(props.params);
|
||||||
const t = useTranslations();
|
const t = useTranslations();
|
||||||
|
const { env } = useEnvContext();
|
||||||
|
|
||||||
const { resource, updateResource } = useResourceContext();
|
const { resource, updateResource } = useResourceContext();
|
||||||
|
|
||||||
@@ -1491,7 +1492,7 @@ export default function ReverseProxyTargets(props: {
|
|||||||
className="space-y-4"
|
className="space-y-4"
|
||||||
id="tls-settings-form"
|
id="tls-settings-form"
|
||||||
>
|
>
|
||||||
{build == "oss" && (
|
{!env.flags.usePangolinDns && (
|
||||||
<FormField
|
<FormField
|
||||||
control={tlsSettingsForm.control}
|
control={tlsSettingsForm.control}
|
||||||
name="ssl"
|
name="ssl"
|
||||||
|
|||||||
Reference in New Issue
Block a user