Add per-device VPN and direct routing policies
Build and Deploy Gateway / build-and-push (push) Successful in 10s
Build and Deploy Gateway / deploy (push) Successful in 16s

This commit is contained in:
2026-08-07 16:18:31 +03:00
parent 307ad02cd7
commit 560c243047
20 changed files with 1090 additions and 114 deletions
+4
View File
@@ -86,6 +86,10 @@ export const api = {
method: 'PUT',
body: JSON.stringify({ ...patch, expectedRevision }),
}),
setPolicy: (id, mode, expectedRevision) => request(`/api/devices/${id}/policy`, {
method: 'PUT',
body: JSON.stringify({ mode, expectedRevision }),
}),
},
singbox: {
stop: () => request('/api/singbox/stop', { method: 'POST' }),