Is it possible to upload images in such a way such that the hostname where the image is uploaded is same as my glitch site and not cdn.glitch.global
Example, When I uploaded the image, the url I got is
However I want the url to be
https://persistent-twisty-meteorology.glitch.me/09f3fc69-46ba-4688-b19e82ef59504744/WhiteFlower?v=1674522419841
If you want the file to be available relative to your project url you can use wget in the terminal to download it to a folder on your project.
Copy link from asset section
Go to terminal
mkdir assets
cd assets
wget -O imgname.png url-to-asset
1 Like
Thank you. I will try that.
1 Like
That worked perfect. Thanks again.
1 Like
system
Closed
5
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.