mirror of
https://github.com/Damillora/Shioriko.git
synced 2024-11-15 01:27:32 +00:00
16 lines
218 B
Go
16 lines
218 B
Go
package app
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
func InitializeFrontendRoutes(g *gin.Engine) {
|
|
g.NoRoute(frontendHome)
|
|
}
|
|
|
|
func frontendHome(c *gin.Context) {
|
|
c.Redirect(http.StatusFound, "/")
|
|
}
|