PHP: remove unnecessary headers
This commit is contained in:
parent
264e2e4e6f
commit
e6dc72ecc4
@ -10,9 +10,7 @@ use Dotenv\Dotenv;
|
||||
Dotenv::createImmutable(__DIR__)->safeLoad();
|
||||
|
||||
header("Access-Control-Allow-Origin: *");
|
||||
header("Content-Type: application/json; charset=UTF-8");
|
||||
header("Access-Control-Allow-Methods: OPTIONS,POST");
|
||||
header("Access-Control-Allow-Headers: Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With");
|
||||
header("Access-Control-Allow-Headers: Content-Type, Authorization");
|
||||
|
||||
$LIVEKIT_API_KEY = $_ENV["LIVEKIT_API_KEY"] ?? "devkey";
|
||||
$LIVEKIT_API_SECRET = $_ENV["LIVEKIT_API_SECRET"] ?? "secret";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user