From 90ae940a6b008d6031aed2e60290df448a9d51e4 Mon Sep 17 00:00:00 2001 From: kolaente Date: Wed, 16 Dec 2020 13:23:26 +0100 Subject: [PATCH] Clarify docs about cors configuration --- config.yml.sample | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.yml.sample b/config.yml.sample index 7d9484d3374..61b262efe09 100644 --- a/config.yml.sample +++ b/config.yml.sample @@ -88,7 +88,7 @@ cors: # Note: If you want to put the frontend and the api on seperate domains or ports, you will need to enable this. # Otherwise the frontend won't be able to make requests to the api through the browser. enable: true - # A list of origins which may access the api. + # A list of origins which may access the api. These need to include the protocol (`http://` or `https://`) and port, if any. origins: - "*" # How long (in seconds) the results of a preflight request can be cached.