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:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user