diff --git a/docs/DOKKU_SETUP.md b/docs/DOKKU_SETUP.md index f9be8bc..f14808b 100644 --- a/docs/DOKKU_SETUP.md +++ b/docs/DOKKU_SETUP.md @@ -220,7 +220,7 @@ dokku config:set casera-api \ EMAIL_USE_TLS=true \ EMAIL_HOST_USER=treytartt@fastmail.com \ EMAIL_HOST_PASSWORD=2t9y4n4t497z5863 \ - DEFAULT_FROM_EMAIL="Casera " + DEFAULT_FROM_EMAIL="Casera " ``` ### 3. Apple Sign In (Optional) diff --git a/internal/router/router.go b/internal/router/router.go index 7940be8..eb2b3f1 100644 --- a/internal/router/router.go +++ b/internal/router/router.go @@ -316,6 +316,7 @@ func setupNotificationRoutes(api *gin.RouterGroup, notificationHandler *handlers notifications.POST("/:id/read/", notificationHandler.MarkAsRead) notifications.POST("/devices/", notificationHandler.RegisterDevice) + notifications.POST("/devices/register/", notificationHandler.RegisterDevice) // Alias for mobile clients notifications.GET("/devices/", notificationHandler.ListDevices) notifications.DELETE("/devices/:id/", notificationHandler.DeleteDevice)