diff --git a/conf/app.conf-default b/conf/app.conf-default index 7635ac1..595c005 100644 --- a/conf/app.conf-default +++ b/conf/app.conf-default @@ -4,7 +4,7 @@ http.port=80 -site.url=http://localhost +site.url=http://localhost # or http://x.com:8080, http://www.xx.com:9000 # the administrator username adminUsername=admin @@ -13,33 +13,19 @@ adminUsername=admin db.host=localhost db.port=27017 db.dbname=leanote # required -db.username=root # if not exists, please leave blank -db.password=root123 # if not exists, please leave blank +db.username=root # if not exists, please leave it blank +db.password=root123 # if not exists, please leave it blank # or you can set the mongdb url for more complex needs the format is: # mongodb://myuser:mypass@localhost:40001,otherhost:40001/mydb # db.url=mongodb://root:root123@localhost:27017/leanote -# email -email.host= -email.port=25 -email.username= -email.password= - -# open for register? -register.open=true -register.sharedUserId=5368c1aa99c37b029d000001 -register.sharedUserShareNotebookId=5368c1aa99c37b029d000002 -register.welcomeNoteId=5368c1b919807a6f95000000 - -#-------------------------------- -# revel config -# for dev -#-------------------------------- +# You Must Change It !! About Security!! +app.secret=V85ZzBeTnzpsHyjQX4zukbQ8qqtju9y2aDM55VWxAH9Qop19poekx3xkcDVvrD0y app.name=leanote -app.secret=V85ZzBeTnzpsHyjQX4zukbQ8qqtju9y2aDM55VWxAH9Qop19poekx3xkcDVvrD0y http.addr= http.ssl=false +cookie.domain= cookie.httponly=false cookie.prefix=LEANOTE cookie.secure=false @@ -47,6 +33,11 @@ format.date=01/02/2006 format.datetime=01/02/2006 15:04 results.chunked=false +#-------------------------------- +# revel config +# for dev +#-------------------------------- + log.trace.prefix = "TRACE " log.info.prefix = "INFO " log.warn.prefix = "WARN "