mirror of
https://github.com/jhillyerd/inbucket.git
synced 2026-01-08 20:21:55 +00:00
revel skeleton
This commit is contained in:
22
conf/app.conf
Normal file
22
conf/app.conf
Normal file
@@ -0,0 +1,22 @@
|
||||
app.name=inbucket
|
||||
app.secret=bPlNFGdSC2wd8f2QnFhk5A84JJjKWZdKH9H2FHFuvUs9Jz8UvBHv3Vc5awx39ivu
|
||||
http.addr=
|
||||
http.port=9000
|
||||
|
||||
[dev]
|
||||
results.pretty=true
|
||||
server.watcher=true
|
||||
|
||||
log.trace.output = off
|
||||
log.info.output = stderr
|
||||
log.warn.output = stderr
|
||||
log.error.output = stderr
|
||||
|
||||
[prod]
|
||||
results.pretty=false
|
||||
server.watcher=false
|
||||
|
||||
log.trace.output = off
|
||||
log.info.output = off
|
||||
log.warn.output = %(app.name)s.log
|
||||
log.error.output = %(app.name)s.log
|
||||
14
conf/routes
Normal file
14
conf/routes
Normal file
@@ -0,0 +1,14 @@
|
||||
# Routes
|
||||
# This file defines all application routes (Higher priority routes first)
|
||||
# ~~~~
|
||||
|
||||
GET / Application.Index
|
||||
|
||||
# Ignore favicon requests
|
||||
GET /favicon.ico 404
|
||||
|
||||
# Map static resources from the /app/public folder to the /public path
|
||||
GET /public/ staticDir:public
|
||||
|
||||
# Catch all
|
||||
* /{controller}/{action} {controller}.{action}
|
||||
Reference in New Issue
Block a user