fix(config): phase 7 follow-up — fix remaining /ims/ occurrences in sw.js, notifications, components

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-07-23 22:32:11 +08:00
co-authored by Claude Sonnet 4.6
parent 9d047e168f
commit 0389d6091a
12 changed files with 21 additions and 21 deletions
+2 -2
View File
@@ -26,7 +26,7 @@ export function CapaForm({ incidentId }: Props) {
const [error, setError] = useState<string | null>(null)
useEffect(() => {
fetch('/ims/api/users')
fetch('/api/users')
.then(r => r.json())
.then(data => { if (Array.isArray(data)) setUsers(data) })
.catch(() => {})
@@ -46,7 +46,7 @@ export function CapaForm({ incidentId }: Props) {
}
setSaving(true)
setError(null)
const res = await fetch('/ims/api/capa', {
const res = await fetch('/api/capa', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({