mirror of
https://github.com/Damillora/Shioriko.git
synced 2024-11-21 20:07:33 +00:00
14 lines
205 B
Go
14 lines
205 B
Go
package app
|
|
|
|
import (
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
func InitializeFrontendRoutes(g *gin.Engine) {
|
|
g.NoRoute(frontendHome)
|
|
}
|
|
|
|
func frontendHome(c *gin.Context) {
|
|
c.File("./web/static/index.html")
|
|
}
|