Skip to content
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.

Commit

Permalink
Added header Access-Control-Allow-Origin to api.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Doki76 committed Jun 30, 2018
1 parent 1e8dbe8 commit 77535d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api.php
Expand Up @@ -7,6 +7,8 @@
// i = 2 json array of fanlist trail for a steemuser
// usage api.php?i=2&user=<steemuseraccountwithout@>

header('Access-Control-Allow-Origin: *');

require_once('inc/conf/db.php');
date_default_timezone_set('UTC');

Expand Down

0 comments on commit 77535d1

Please sign in to comment.