fix backend CORS: add global CORS filter and catch-all OPTIONS route; fix MySQL insert errors: set updatedField to empty string instead of null in models without updated_at column

This commit is contained in:
Jürg Hallenbarter
2026-05-13 13:59:31 +02:00
parent 092bb53324
commit 7c81586d3f
8 changed files with 16 additions and 6 deletions

View File

@@ -73,6 +73,7 @@ class Filters extends BaseFilters
*/
public array $globals = [
'before' => [
'cors',
// 'honeypot',
// 'csrf',
// 'invalidchars',