add config option to enable cors for dispatchserver (#579)

This commit is contained in:
Muhammad Eko Prasetyo
2022-05-07 03:23:26 +07:00
committed by GitHub
parent 3ede7523b0
commit deee32a0a1
2 changed files with 6 additions and 1 deletions

View File

@@ -41,6 +41,8 @@ public final class Config {
public String KeystorePassword = "123456";
public Boolean UseSSL = true;
public Boolean FrontHTTPS = true;
public Boolean CORS = false;
public String[] CORSAllowedOrigins = new String[] { "*" };
public boolean AutomaticallyCreateAccounts = false;
public String[] defaultPermissions = new String[] { "" };