Closed Wardormeur closed 6 years ago
https://github.com/hapijs/hapi/issues/2840 Updating hapijs requires to update others plugins as well as NodeJs (we shouldn't even use it on 0.10). To avoid preflight for non-cors calls (/api/2.0/dojos), avoid sending extra-headers for those routes
Need to be verified if https://github.com/CoderDojo/cp-zen-platform/pull/1186 solved this
Fixed with https://github.com/CoderDojo/cd-theme/pull/73
https://github.com/hapijs/hapi/issues/2840 Updating hapijs requires to update others plugins as well as NodeJs (we shouldn't even use it on 0.10). To avoid preflight for non-cors calls (/api/2.0/dojos), avoid sending extra-headers for those routes