From 1c0fe400c3249512efe8260e989c516f7bf925c0 Mon Sep 17 00:00:00 2001 From: Cyberboss Date: Thu, 1 Nov 2018 12:32:14 -0400 Subject: [PATCH] Update Readme --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 258a1d3128..c94b74cc94 100644 --- a/README.md +++ b/README.md @@ -92,6 +92,12 @@ Create an `appsettings.Production.json` file next to `appsettings.json`. This wi - `Database:ConnectionString`: Connection string for your database. Click [here](https://www.developerfusion.com/tools/sql-connection-string/) for an SQL Server generator or see [here](https://www.connectionstrings.com/mysql/) for a MySQL guide ([You should probably use '127.0.0.1' instead of 'localhost'](https://stackoverflow.com/questions/19712307/mysql-localhost-127-0-0-1)). +- `ControlPanel:Enable`: Enable the javascript based control panel to be served from the server via /index.html + +- `ControlPanel:AllowAnyOrigin`: Set the Access-Control-Allow-Origin header to * for all responses (also enables all headers and methods) + +- `ControlPanel:AllowedOrigins`: Set the Access-Control-Allow-Origin headers to this list of origins for all responses (also enables all headers and methods). This is overridden by `ControlPanel:AllowAnyOrigin` + ### Database Configuration If using a MariaDB/MySQL server, our client library [recommends you set 'utf8mb4' as your default charset](https://github.com/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql#1-recommended-server-charset) disregard at your own risk.