Add global var for FeedbackURL
1 files changed, 4 insertions(+), 1 deletions(-)

M feedback.go
M feedback.go +4 -1
@@ 16,6 16,9 @@ import (
 	"hg.code.netlandish.com/~netlandish/gobwebs/server"
 )
 
+// FeedbackURL is the url to call the feedback handler
+var FeedbackURL string = "/ses-feedback"
+
 // Actions ...
 type Actions interface {
 	Bounce(data map[string]any) error

          
@@ 39,7 42,7 @@ type Service struct {
 
 // RegisterRoutes ...
 func (s *Service) RegisterRoutes() {
-	s.eg.POST("/ses-feedback", s.Feedback).Name = s.RouteName("feedback")
+	s.eg.POST(FeedbackURL, s.Feedback).Name = s.RouteName("feedback")
 }
 
 // RouteName ...