Compare commits

...

4 Commits

Author SHA1 Message Date
a555223dbd Merge branch 'dev' into qa 2025-04-14 00:11:27 +05:30
9f259de4f6 Merge branch 'dev' of cosqnet.com:cosqnet/fitlien-services into dev 2025-04-14 00:11:12 +05:30
dc91c123bb Updated bucket permissions 2025-04-14 00:11:09 +05:30
fcd5f5db47 feature/fitlien-add-cors (#18)
Reviewed-on: #18
Co-authored-by: DhanshCOSQ <dhanshas@cosq.net>
Co-committed-by: DhanshCOSQ <dhanshas@cosq.net>
2025-04-13 10:07:51 +00:00
2 changed files with 3 additions and 6 deletions

View File

@ -423,7 +423,7 @@ export const createCashfreeOrder = onRequest({
customer_phone: customerPhone
},
order_meta: {
return_url: `http://${webHostUrl}/?order_id=${orderId}&hash_key=${hashKey}&user_id=${userId}&gym_id=${gymId}#/payment-status-screen`,
return_url: `http://${webHostUrl}?order_id=${orderId}&hash_key=${hashKey}&user_id=${userId}&gym_id=${gymId}#/payment-status-screen`,
},
order_note: productInfo || 'Fitlien Membership'
},

View File

@ -1,12 +1,9 @@
rules_version = '2';
// Craft rules based on data in your Firestore database
// allow write: if firestore.get(
// /databases/(default)/documents/users/$(request.auth.uid)).data.isAdmin;
service firebase.storage {
match /b/{bucket}/o {
match /{allPaths=**} {
allow read, write: if false;
allow read, write: if request.auth != null;
}
}
}
}