fix an isssue with routing

it only matches get for prod routes of php examples which would fail
for interactivity. now it works