Send Markdown preview data as form params (#347)

This commit is contained in:
Thomas Miceli
2024-10-14 14:43:12 +02:00
committed by GitHub
parent 12696d23b0
commit 3068588111
2 changed files with 6 additions and 5 deletions

View File

@ -251,7 +251,7 @@ func NewServer(isDev bool, sessionsPath string) *Server {
g1.Use(csrfInit)
g1.GET("/", create, logged)
g1.POST("/", processCreate, logged)
g1.GET("/preview", preview, logged)
g1.POST("/preview", preview, logged)
g1.GET("/healthcheck", healthcheck)
g1.GET("/metrics", metrics)