Browse Source

allow remote requests by Access-Control-Allow-Origin: *

main
ghost 12 months ago
parent
commit
0d95eaecc4
  1. 1
      src/public/dig.php

1
src/public/dig.php

@ -1,6 +1,7 @@
<?php <?php
// Set headers // Set headers
header('Access-Control-Allow-Origin: *');
header('Content-Type: application/json; charset=utf-8'); header('Content-Type: application/json; charset=utf-8');
// Load dependencies // Load dependencies

Loading…
Cancel
Save