mirror of
https://github.com/Doodle3D/doodle3d-connect.git
synced 2024-12-25 18:13:48 +01:00
Allow requests from all origins and set content type to json
This commit is contained in:
parent
6c30cf5c2c
commit
fca968806a
@ -1,5 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
header("Access-Control-Allow-Origin: *");
|
||||||
|
header("Content-type: application/json");
|
||||||
|
|
||||||
require 'credentials.php';
|
require 'credentials.php';
|
||||||
|
|
||||||
$database = "doodle3d_connect";
|
$database = "doodle3d_connect";
|
||||||
|
Loading…
Reference in New Issue
Block a user