Bug fix for CORS parameter

Accidentally used bool instead of boolean