summaryrefslogtreecommitdiffstats
path: root/endpoint.php
diff options
context:
space:
mode:
authorAnton Luka Šijanec <sijanecantonluka@gmail.com>2020-01-27 16:52:31 +0100
committerAnton Luka Šijanec <sijanecantonluka@gmail.com>2020-01-27 16:52:31 +0100
commit3acf37b497f9ef2499decaa3c1339a88f2ff7d78 (patch)
treedec050dd2347e19cc3f87911170a8e36cd3eccdf /endpoint.php
parentnull (diff)
downloadgimsisextclient-3acf37b497f9ef2499decaa3c1339a88f2ff7d78.tar
gimsisextclient-3acf37b497f9ef2499decaa3c1339a88f2ff7d78.tar.gz
gimsisextclient-3acf37b497f9ef2499decaa3c1339a88f2ff7d78.tar.bz2
gimsisextclient-3acf37b497f9ef2499decaa3c1339a88f2ff7d78.tar.lz
gimsisextclient-3acf37b497f9ef2499decaa3c1339a88f2ff7d78.tar.xz
gimsisextclient-3acf37b497f9ef2499decaa3c1339a88f2ff7d78.tar.zst
gimsisextclient-3acf37b497f9ef2499decaa3c1339a88f2ff7d78.zip
Diffstat (limited to '')
-rw-r--r--endpoint.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/endpoint.php b/endpoint.php
index a58eeb5..7bfe495 100644
--- a/endpoint.php
+++ b/endpoint.php
@@ -1,6 +1,7 @@
<?php
error_reporting(0);
header("Content-Type: application/json");
+ header("Access-Control-Allow-Origin: *");
require "main.php";
$g = new gimsisextClient();
$g->setusername($_REQUEST['u']);