瀏覽代碼

Added "cors" field to config. Fixed typo on "recaptcha" field

Cameron Kline 8 年之前
父節點
當前提交
d4ac018b31
共有 1 個文件被更改,包括 7 次插入1 次删除
  1. 7 1
      backend/config/template.json

+ 7 - 1
backend/config/template.json

@@ -5,7 +5,7 @@
 		"youtube": {
 			"key": ""
 		},
-		"recapthca": {
+		"recaptcha": {
 			"secret": ""
 		},
 		"github": {
@@ -16,5 +16,11 @@
 			"client": "",
 			"secret": ""
 		}
+	},
+	"cors": {
+		"origin": [
+			"http://localhost:8080",
+			"http://dev.musare.com"
+		]
 	}
 }