Skip to content
This repository was archived by the owner on Sep 17, 2019. It is now read-only.

Commit dd2155b

Browse files
committed
web
1 parent 45f9efc commit dd2155b

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

‎main.go‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,5 +103,6 @@ func main() {
103103
beego.Info("All is ready, go running...")
104104
beego.BConfig.WebConfig.Session.SessionOn = true
105105
beego.BConfig.WebConfig.Session.SessionName = "Session_MobuleAB"
106+
beego.BConfig.WebConfig.StaticDir["/"] = "web/app"
106107
beego.Run()
107108
}

‎web/app/index.html‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<!DOCTYPE html>
2+
<html lang="zh">
3+
<head>
4+
<meta charset="utf-8">
5+
<title>ModuleAB</title>
6+
</head>
7+
<body>
8+
<h1>Works</h1>
9+
</body>
10+
</html>

0 commit comments

Comments
 (0)