+setup
This commit is contained in:
parent
555e7b85ea
commit
34ecc9f036
17 changed files with 70 additions and 57 deletions
|
@ -14,7 +14,7 @@ type Webapp struct {
|
|||
DB *scribble.Driver
|
||||
}
|
||||
|
||||
const _MaxLen = 8
|
||||
// const _MaxLen = 8
|
||||
|
||||
func InitHttp(d *scribble.Driver) *Webapp {
|
||||
|
||||
|
@ -29,11 +29,11 @@ func InitHttp(d *scribble.Driver) *Webapp {
|
|||
wapp.initApi()
|
||||
// wapp.initAuth()
|
||||
|
||||
displayH := router.Group("/display_h")
|
||||
displayH.Static("/", "./static/display_h")
|
||||
displayH := router.Group("/displayh")
|
||||
displayH.Static("/", "./static/displayh")
|
||||
|
||||
displayV := router.Group("/display_v")
|
||||
displayV.Static("/", "./static/display_v")
|
||||
displayV := router.Group("/displayv")
|
||||
displayV.Static("/", "./static/displayv")
|
||||
|
||||
priority := router.Group("/priority")
|
||||
priority.Static("/", "./static/priority")
|
||||
|
@ -41,6 +41,9 @@ func InitHttp(d *scribble.Driver) *Webapp {
|
|||
mobile := router.Group("/mobile")
|
||||
mobile.Static("/", "./static/mobile")
|
||||
|
||||
setup := router.Group("/setup")
|
||||
setup.Static("/", "./static/setup")
|
||||
|
||||
sapp := router.Group("/_app")
|
||||
sapp.Static("/", "./static/_app")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue