diff --git a/internal/api/server/router/router.go b/internal/api/server/router/router.go index 434ed62..cb1bfa4 100644 --- a/internal/api/server/router/router.go +++ b/internal/api/server/router/router.go @@ -34,8 +34,8 @@ func (r Router) RegisterRoute(handler *deliveryHTTP.HandlerHTTP, wsHandler *deli cfgCSRF.PathToGet = "/api/v1/csrf" c := cors.New(cors.Options{ - AllowedOrigins: []string{"https://pinspire.online", "https://pinspire.online:1443", - "https://pinspire.online:1444", "https://pinspire.online:1445", "https://pinspire.online:1446", "https://pinspire.online:8081"}, + AllowedOrigins: []string{"https://pinspire.site", "https://pinspire.site:1443", + "https://pinspire.site:1444", "https://pinspire.site:1445", "https://pinspire.site:1446", "https://pinspire.site:8081"}, AllowedMethods: []string{http.MethodGet, http.MethodPost, http.MethodDelete, http.MethodPut}, AllowCredentials: true, AllowedHeaders: []string{"content-type", cfgCSRF.Header},