fix: map CORS origins to migrated column

This commit is contained in:
root
2026-09-04 22:52:39 +02:00
parent 9710e8d228
commit 8413e5c340
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ First, run the plugin migration once after installing/upgrading the plugin:
```bash
cd /var/azuracast
./docker.sh cli doctrine:migrations:migrate --no-interaction
./docker.sh cli migrations:migrate --no-interaction
```
Then configure the station (the station argument accepts its ID or short name):
+1 -1
View File
@@ -16,7 +16,7 @@ final class StationCorsConfiguration
private ?int $id = null;
/** @var list<string> */
#[ORM\Column(type: 'json')]
#[ORM\Column(name: 'allowed_origins', type: 'json')]
private array $allowedOrigins = [];
/** @param list<string> $allowedOrigins */