From ca0a30900c190bd75165cb8bb5145d8f734ab9b1 Mon Sep 17 00:00:00 2001 From: Felix Krause Date: Tue, 5 Jan 2016 21:36:37 +0100 Subject: [PATCH] Fixed CORS header --- server/server.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/server.nim b/server/server.nim index 2e79b26..efdc46a 100644 --- a/server/server.nim +++ b/server/server.nim @@ -22,7 +22,7 @@ routes: var output = newStringStream() resultNode = newJObject() - headers["Access-Control-Allow-Origin"] = "flyx.github.io" + headers["Access-Control-Allow-Origin"] = "https://flyx.github.io" try: try: transform(newStringStream(@"input"), output, style)