From 21912155f2a1a1ba69e824617702cbf7fa3530ea Mon Sep 17 00:00:00 2001 From: Tejaswini Chile Date: Wed, 27 Jul 2022 20:03:33 +0530 Subject: [PATCH] chore: adding env example for direct_upload (#5130) --- .env.example | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.env.example b/.env.example index adf40c69b..d3ca87f1e 100644 --- a/.env.example +++ b/.env.example @@ -198,3 +198,7 @@ ENABLE_PUSH_RELAY_SERVER=true # Stripe API key STRIPE_SECRET_KEY= STRIPE_WEBHOOK_SECRET= + +# Set to true if you want to upload files to cloud storage using the signed url +# Make sure to follow https://edgeguides.rubyonrails.org/active_storage_overview.html#cross-origin-resource-sharing-cors-configuration on the cloud storage after setting this to true. +DIRECT_UPLOADS_ENABLED=