mirror of
https://github.com/thomiceli/opengist.git
synced 2025-06-22 17:57:58 +02:00
Send Markdown preview data as form params (#347)
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user