mirror of
https://github.com/TwiN/gatus.git
synced 2025-01-02 12:09:10 +01:00
efbb739a44
* feat(ui): Implement Custom CSS configuration * Update web/app/public/index.html
15 lines
264 B
Go
15 lines
264 B
Go
package api
|
|
|
|
import (
|
|
"github.com/gofiber/fiber/v2"
|
|
)
|
|
|
|
type CustomCSSHandler struct {
|
|
customCSS string
|
|
}
|
|
|
|
func (handler CustomCSSHandler) GetCustomCSS(c *fiber.Ctx) error {
|
|
c.Set("Content-Type", "text/css")
|
|
return c.Status(200).SendString(handler.customCSS)
|
|
}
|