mirror of
https://github.com/ShaYmez/FreeSTAR-Status-Engine.git
synced 2026-06-02 06:04:44 -04:00
added json headers to api response
This commit is contained in:
@@ -7,6 +7,8 @@ if (!file_exists("../config.php"))
|
||||
else{
|
||||
require_once("../config.php");
|
||||
require_once("../classes/constellation.php");
|
||||
header('Cache-Control: no-cache');
|
||||
header('Content-type: application/json');
|
||||
|
||||
if (!isset($_GET['id']))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user