summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorHorus_Arch2015-02-15 17:59:13 +0100
committerHorus_Arch2015-02-15 17:59:13 +0100
commit26f781239bfcda867f19262becee3b9687a7c79d (patch)
tree04a439594815ce1b37a1a73303eee4ac7a5be487 /conf
parenta69bf1307d20a395b0eca9ffae06f57a659dabf1 (diff)
downloadfreemail-26f781239bfcda867f19262becee3b9687a7c79d.tar.gz
Crashs on startup with error message 'Cannot start transaction.'
Diffstat (limited to 'conf')
-rw-r--r--conf/app.conf5
-rw-r--r--conf/routes20
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