Add CORS to /message
All checks were successful
CI / scan_ruby (push) Successful in 16s
CI / scan_js (push) Successful in 13s
CI / lint (push) Successful in 12s
CI / test (push) Successful in 37s

This commit is contained in:
sto
2025-06-13 18:53:29 +02:00
parent d7d90f0c91
commit 989f4cdd40
2 changed files with 17 additions and 1 deletions

View File

@@ -24,6 +24,7 @@ Rails.application.routes.draw do
resource :session
resources :users
options "message", to: "messages#cors_preflight_check"
post "message", to: "messages#create"
get "public/:id", to: "contests#scoreboard"