From 5e01ecbc0528488427ee455578acbe7ff92efcfe Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sat, 28 Jan 2017 19:59:17 -0500 Subject: Able to set custom Access-Control-Allow-Origin header (#3987) Added new config option '[http] ACCESS_CONTROL_ALLOW_ORIGIN'. --- conf/app.ini | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'conf') diff --git a/conf/app.ini b/conf/app.ini index f11627c4..3c0ee503 100644 --- a/conf/app.ini +++ b/conf/app.ini @@ -142,6 +142,10 @@ ENABLE_GZIP = false ; Landing page for non-logged users, can be "home" or "explore" LANDING_PAGE = home +[http] +; Value for Access-Control-Allow-Origin header, default is not to present +ACCESS_CONTROL_ALLOW_ORIGIN = + ; Define allowed algorithms and their minimum key length (use -1 to disable a type) [ssh.minimum_key_sizes] ED25519 = 256 -- cgit v1.2.3