feat: add configurable HLS CORS allowlists
This commit is contained in:
@@ -3,7 +3,10 @@
|
||||
declare(strict_types=1);
|
||||
|
||||
use Plugin\AzuraCastOnDemandHls\Config;
|
||||
use Plugin\AzuraCastOnDemandHls\Cors\CorsConfigurationProvider;
|
||||
use Plugin\AzuraCastOnDemandHls\Repository\CorsConfigurationRepository;
|
||||
|
||||
return [
|
||||
Config::class => static fn(): Config => Config::fromEnvironment(),
|
||||
CorsConfigurationProvider::class => static fn(CorsConfigurationRepository $repository): CorsConfigurationProvider => $repository,
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user