mirror of
https://github.com/Starlio-app/StarlioX
synced 2024-12-24 13:53:46 +03:00
16 lines
280 B
Go
16 lines
280 B
Go
|
package page
|
||
|
|
||
|
import (
|
||
|
"github.com/Redume/EveryNasa/functions"
|
||
|
"github.com/gofiber/fiber/v2"
|
||
|
)
|
||
|
|
||
|
func Settings(c *fiber.Ctx) error {
|
||
|
con := functions.Connected()
|
||
|
if con == false {
|
||
|
return c.SendFile("./web/errors/500.html")
|
||
|
}
|
||
|
|
||
|
return c.SendFile("./web/src/settings.html")
|
||
|
}
|