Accessing .glitch-assets file

Hi
I would like to acces to the .glitch-assets file, but I don’t see the way to do it…

If I am correct, the file holds the endpoints of the files from the glitch CDN.

You could download your project, open it up in VS Code or similar, and you should be able to see the file. Just go to Tools > Import/Export, scroll to the bottom, and click ‘Download Project.’

hi, .glitch-assets file is a hidden file that lists all the media on the Glitch CDN linked to your project. You can view it in the terminal by running cat .glitch-assets.

Adding on, to edit it you can temporarily rename it mv .glitch-assets glitch-assets.txt run refresh edit it and then move it back mv glitch-assets.txt .glitch-assets, or you can use a terminal editor like vim and nano.

3 Likes

Thank you. Very easy way

2 Likes

Thank you all !
You helped me understand how it works !
I in fact simply made a
cp .glitch-assets glitch-assets.json
Then access is possible via url
https://my_project_name.glitch.me/glitch-assets.json

2 Likes

Don’t Forget to Mark a Post as the Solution!
This lets people know the topic has been solved and that one’s information was helpful!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.