Created
This commit is contained in:
1
controllers/example.go
Normal file
1
controllers/example.go
Normal file
@@ -0,0 +1 @@
|
||||
package controllers
|
||||
11
controllers/frontend.go
Normal file
11
controllers/frontend.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package controllers
|
||||
|
||||
import "github.com/gofiber/fiber/v2"
|
||||
|
||||
// func FrontendExample(c *fiber.Ctx) error {
|
||||
// return c.SendFile("frontend/test.html")
|
||||
// }
|
||||
|
||||
func FrontendExample(c *fiber.Ctx) error {
|
||||
return c.SendFile("frontend/test.html")
|
||||
}
|
||||
Reference in New Issue
Block a user