From 9042af4c8f690a2e5b0e3c178fd2e29a7bb5fe01 Mon Sep 17 00:00:00 2001
From: Viren070
Date: Fri, 10 Jan 2025 21:01:14 +0000
Subject: [PATCH] feat: remove mediaflow public ip option
---
packages/frontend/src/app/configure/page.tsx | 16 ----------------
packages/types/src/types.ts | 1 -
2 files changed, 17 deletions(-)
diff --git a/packages/frontend/src/app/configure/page.tsx b/packages/frontend/src/app/configure/page.tsx
index 69d1bf54..b0782a2c 100644
--- a/packages/frontend/src/app/configure/page.tsx
+++ b/packages/frontend/src/app/configure/page.tsx
@@ -233,8 +233,6 @@ export default function Configure() {
const [mediaFlowEnabled, setMediaFlowEnabled] = useState(false);
const [mediaFlowProxyUrl, setmediaFlowProxyUrl] = useState('');
const [mediaFlowApiPassword, setmediaFlowApiPassword] = useState('');
- const [mediaFlowPublicIp, setmediaFlowPublicIp] = useState('');
-
const [disableButtons, setDisableButtons] = useState(false);
const getChoosableAddons = () => {
@@ -282,7 +280,6 @@ export default function Configure() {
mediaFlowEnabled,
proxyUrl: mediaFlowProxyUrl,
apiPassword: mediaFlowApiPassword,
- publicIp: mediaFlowPublicIp,
},
addons,
services,
@@ -1070,19 +1067,6 @@ export default function Configure() {
Leave empty if MediaFlow is configured locally without a proxy server or if it's hosted on a remote server.
-
- setmediaFlowPublicIp(e.target.value)}
- placeholder='Enter your public IP'
- disabled={!mediaFlowEnabled}
- style={{
- marginLeft: 'auto',
- marginRight: '20px',
- }}
- />
-
)}
diff --git a/packages/types/src/types.ts b/packages/types/src/types.ts
index 22ddd3f7..8f5c7a15 100644
--- a/packages/types/src/types.ts
+++ b/packages/types/src/types.ts
@@ -149,7 +149,6 @@ export interface Config {
mediaFlowEnabled: boolean;
proxyUrl: string;
apiPassword: string;
- publicIp: string;
};
addons: {
id: string;