add cors headers

This commit is contained in:
Pete Matsyburka committed 2024-02-20 18:25:41 +02:00
1 parent 250889623d
commit aa3bd24332
2 files changed
+10

No files matched your search

@@ -7,6 +7,8 @@ module Api
skip_before_action :authenticate_user!
skip_authorization_check
before_action :set_cors_headers
def show
blob_uuid, = ApplicationRecord.signed_id_verifier.verified(params[:signed_uuid])