Browse Source

Allow CORS access from IPv6 localhost

bugfix/performance
Starbeamrainbowlabs 3 years ago
parent
commit
d8b93fe1d7
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
  1. 2
      api.php

2
api.php

@ -54,6 +54,8 @@ $perfcounter->end("di"); @@ -54,6 +54,8 @@ $perfcounter->end("di");
// 5: Action
header("access-control-allow-origin: http://[::1]:40482");
// Figure out the action name
$action = str_replace(
" ", "",

Loading…
Cancel
Save