mirror of
https://github.com/ZSCNetSupportDept/scheduler.git
synced 2025-10-29 04:55:04 +08:00
修改
This commit is contained in:
@@ -1,12 +1,17 @@
|
||||
package config
|
||||
|
||||
import (
|
||||
"github.com/labstack/echo/v4"
|
||||
"github.com/labstack/echo/v4/middleware"
|
||||
)
|
||||
|
||||
func Route(app *echo.Echo) {
|
||||
// here is the route for our site
|
||||
staticFiles := app.Group("/")
|
||||
staticFiles.Use(middleware.Static("./FrontEnd"))
|
||||
}
|
||||
//
|
||||
// import (
|
||||
// "github.com/labstack/echo/v4"
|
||||
// "github.com/labstack/echo/v4/middleware"
|
||||
// "zsxyww.com/scheduler/handler"
|
||||
// )
|
||||
//
|
||||
// func Route(app *echo.Echo) {
|
||||
// // here is the route for our site
|
||||
// staticFiles := app.Group("/")
|
||||
// staticFiles.Use(middleware.Static("./FrontEnd"))
|
||||
//
|
||||
// api := app.Group("/api/")
|
||||
// api.GET("/getAssignment", handler.GetAssignment)
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user