# Shadow Editor Server Configuration for development [server] port = ":2020" # server address https = false # whether enable https certPath = "./certificate/certificate.pem" # The certificate path keyPath = "./certificate/privatekey.pem" # The key path [database] type = "mongo" # only support mongo host = "127.0.0.1" # mongo ip port = 27017 # mongo port user = "" # mongo username password = "" # mongo password database = "ShadowEditor" # mongo database name [authority] enabled = false # enable authority expires = 120 # login time, minutes, only support integer secret_key = "Welcome ---------" # secret_key is used to encrypt credentials [upload] max_size = 1000000000 # max upload file size [path] public_dir = "../build/public" # The directory that contains index.html. # Path `./public/Upload` need write authority. log_dir = "./logs" # The directory that contains log files. Need write authority. [log] file = "./logs/ShadowServer.txt"