1
0
mirror of https://github.com/JustKato/FreePad.git synced 2026-03-30 16:39:45 +03:00
Files
FreePad/lib/controllers/controllers_header.go
Kato Twofold 0bc4942924 QR Codes
+ QR Code generation
+ Added micromodal
* Bumped version by 0.0.8
* Updated DockerFile
* Updated Changelog
2022-05-22 20:42:19 +03:00

16 lines
231 B
Go

package controllers
import "github.com/gin-gonic/gin"
func ApplyHeaders(router *gin.Engine) {
router.Use(func(ctx *gin.Context) {
// Apply the header
ctx.Header("FreePad-Version", "1.2.0")
// Move on
ctx.Next()
})
}