mirror of https://github.com/shunfei/cronsun
添加静态目录
parent
45e7a8b1f5
commit
52457b6104
|
@ -41,6 +41,8 @@ func InitRouters() (s *http.Server, err error) {
|
|||
h = BaseHandler{Handle: nodeLeaveGroup}
|
||||
subrouter.Handle("/node/group", h).Methods("DELETE")
|
||||
|
||||
subrouter.Handle("/ui", http.FileServer(http.Dir(conf.Config.Web.UIDir)))
|
||||
|
||||
s = &http.Server{
|
||||
Handler: r,
|
||||
}
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Cronsun</title>
|
||||
<script src="/src/vendors/vue.js"></script>
|
||||
<script src="/src/vendors/vue-router.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
</body>
|
||||
</html>
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue