Commit 557f72da authored by Robert Ricci's avatar Robert Ricci

CORS headers to allow stats to be embedded in any domain

Part of the reason this is needed is that https:// and http:// are
different origins, and CloudLab always needs to fetch this through
https:// . But also for my own convenience in being able to stick my
development page anywhere.
parent e6e123f2
......@@ -26,6 +26,11 @@ include("defs.php3");
chdir("apt");
include("quickvm_sup.php");
#
# Allow this to be fetched from pages loaded anywhere
#
header("Access-Control-Allow-Origin: *");
#
# For the Cloudlab front page, to display some current stats.
#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment