apache - Firebase Storage Downloadurl Custom Domain -


a part of firebase app serve pdf files on firebase storage users. when open files bucket downloadurl visible users example: https://firebasestorage.googleapis.com/v0/b/my-project/o/file.pdf?alt=media&token=5btfzb29-f3cf-4557-8741-bfd3f12b1e86i
want serve files under:
https://custumdomain.com/file.pdf?alt=media&token=5btfzb29-f3cf-4557-8741-bfd3f12b1e86i
since couldn't find option in firebase console or cloud storage achieve this, tried set .htaccess redirect. tried:
rewriteengine on rewriterule ^(.*)$ https://firebasestorage.googleapis/$1 [p]
requested document shown, user visibly redirected. question divided 2 parts:
1. right way achieve goal? there easier solution provided cloud storage?
2. why proxy flag not working intended? need change hide redirect?


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -