release: alle hardcodierten IPs entfernt, Konfiguration via Env-Variablen und Auto-Discovery
This commit is contained in:
@@ -1166,7 +1166,7 @@ function WireGuardTab({ agentId, sys }) {
|
||||
const [peers, setPeers] = useState([])
|
||||
const [loading, setLoading] = useState(true)
|
||||
const [adding, setAdding] = useState(false)
|
||||
const [newPeer, setNewPeer] = useState({ name: '', dns: '10.172.100.210, 10.172.100.220' })
|
||||
const [newPeer, setNewPeer] = useState({ name: '', dns: '' })
|
||||
const [result, setResult] = useState(null)
|
||||
const [copied, setCopied] = useState(false)
|
||||
const [error, setError] = useState('')
|
||||
@@ -1201,7 +1201,7 @@ function WireGuardTab({ agentId, sys }) {
|
||||
})
|
||||
setResult(resp?.data || resp)
|
||||
setAdding(false)
|
||||
setNewPeer({ name: '', dns: '10.172.100.210, 10.172.100.220' })
|
||||
setNewPeer({ name: '', dns: '' })
|
||||
loadPeers()
|
||||
} catch (e) {
|
||||
setError(e.message)
|
||||
|
||||
@@ -415,7 +415,7 @@ function SystemSettingsSection() {
|
||||
type="text"
|
||||
value={form.backend_url_internal || ''}
|
||||
onChange={(e) => setForm({ ...form, backend_url_internal: e.target.value })}
|
||||
placeholder="https://192.168.85.13:8443"
|
||||
placeholder="https://<BACKEND-IP>:8443"
|
||||
className="w-full bg-gray-800 border border-gray-700 rounded px-3 py-2 text-white text-sm focus:outline-none focus:border-orange-500 mt-1"
|
||||
/>
|
||||
<div className="text-[10px] text-gray-600 mt-0.5">Fuer Tunnel-Zugriff und lokale Verbindungen</div>
|
||||
|
||||
Reference in New Issue
Block a user