diff options
Diffstat (limited to 'conf')
| -rw-r--r-- | conf/app.conf | 5 | ||||
| -rw-r--r-- | conf/routes | 20 |
2 files changed, 15 insertions, 10 deletions
diff --git a/conf/app.conf b/conf/app.conf index f04c963..9ddd749 100644 --- a/conf/app.conf +++ b/conf/app.conf @@ -31,6 +31,9 @@ http.ssl = false # Path to an X509 certificate key, if using SSL. #http.sslkey = +db.import = github.com/mattn/go-sqlite3 +db.driver = sqlite3 +#db.spec = email.db # For any cookies set by Revel (Session,Flash,Error) these properties will set # the fields of: @@ -42,7 +45,7 @@ http.ssl = false # as JavaScript). This restriction mitigates, but does not eliminate the threat # of session cookie theft via cross-site scripting (XSS). This feature applies # only to session-management cookies, and not other browser cookies. -cookie.httponly = false +cookie.httponly = true # Each cookie set by Revel is prefixed with this string. cookie.prefix = REVEL diff --git a/conf/routes b/conf/routes index fc8209f..051e31c 100644 --- a/conf/routes +++ b/conf/routes @@ -5,16 +5,18 @@ module:testrunner GET / App.Index -GET /mail App.Mail -GET /mail/register App.MailRegister -POST /mail/register App.DoMailRegister +GET /register App.Register +POST /register App.DoRegister +#GET /mail App.Mail +#GET /mail/register App.MailRegister +#POST /mail/register App.DoMailRegister -GET /domain Domain.Index -POST /domain Domain.DoEdit -GET /domain/register Domain.Register -POST /domain/register Domain.DoRegister -GET /domain/login Domain.Login -POST /domain/login Domain.DoLogin +#GET /domain Domain.Index +#POST /domain Domain.DoEdit +#GET /domain/register Domain.Register +#POST /domain/register Domain.DoRegister +#GET /domain/login Domain.Login +#POST /domain/login Domain.DoLogin # Ignore favicon requests |
