mirror of
https://github.com/Viren070/AIOStreams.git
synced 2025-12-01 23:14:04 +01:00
feat: remove mediaflow public ip option
This commit is contained in:
@@ -233,8 +233,6 @@ export default function Configure() {
|
||||
const [mediaFlowEnabled, setMediaFlowEnabled] = useState<boolean>(false);
|
||||
const [mediaFlowProxyUrl, setmediaFlowProxyUrl] = useState<string>('');
|
||||
const [mediaFlowApiPassword, setmediaFlowApiPassword] = useState<string>('');
|
||||
const [mediaFlowPublicIp, setmediaFlowPublicIp] = useState<string>('');
|
||||
|
||||
const [disableButtons, setDisableButtons] = useState<boolean>(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.
|
||||
</p>
|
||||
</div>
|
||||
<div>
|
||||
<input
|
||||
type="text"
|
||||
value={mediaFlowPublicIp}
|
||||
onChange={(e) => setmediaFlowPublicIp(e.target.value)}
|
||||
placeholder='Enter your public IP'
|
||||
disabled={!mediaFlowEnabled}
|
||||
style={{
|
||||
marginLeft: 'auto',
|
||||
marginRight: '20px',
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
|
||||
@@ -149,7 +149,6 @@ export interface Config {
|
||||
mediaFlowEnabled: boolean;
|
||||
proxyUrl: string;
|
||||
apiPassword: string;
|
||||
publicIp: string;
|
||||
};
|
||||
addons: {
|
||||
id: string;
|
||||
|
||||
Reference in New Issue
Block a user