feat(ui): Implement Custom CSS configuration (#943)
* feat(ui): Implement Custom CSS configuration * Update web/app/public/index.html
This commit is contained in:
14
api/custom_css.go
Normal file
14
api/custom_css.go
Normal file
@ -0,0 +1,14 @@
|
||||
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)
|
||||
}
|
Reference in New Issue
Block a user