mirror of
https://github.com/Starlio-app/Starlio-web.git
synced 2024-11-06 01:13:57 +03:00
15 lines
278 B
Go
15 lines
278 B
Go
package page
|
|
|
|
import (
|
|
"github.com/Redume/EveryNasa/functions"
|
|
"github.com/gofiber/fiber/v2"
|
|
)
|
|
|
|
func Gallery(c *fiber.Ctx) error {
|
|
con := functions.Connected()
|
|
if con == false {
|
|
return c.SendFile("./web/errors/500.html")
|
|
}
|
|
|
|
return c.SendFile("./web/src/gallery.html")
|
|
}
|