Fix: Update API json regex to match cross-origin requests