You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: prioritize boolean cors value over debug flags (#1189)
* fix: prioritize boolean cors value over debug flags
As discussed in firebase/firebase-tools#4862 it's not possible to disable cors in v2 functions, because the emulator enables the debug feature for cors overriding `opts.cors`.
If we could prioritize the boolean flag over the debug feature, we could have both: The ability to disable cors and also prioritize the debug flag over user provided configuration.
* chore: use less conditions to check desired cors state
Co-authored-by: Daniel Lee <[email protected]>
* style: format
* chore: run prettier to follow formatting rules
* style: format https spec file
Co-authored-by: Daniel Lee <[email protected]>
Co-authored-by: Cole Rogers <[email protected]>
0 commit comments