How to access assets?


#1

I tried image name for example app/assets/myimagename.png doesn’t work.


#2

The images uploaded to your assets folder are actually hosted on a CDN and only referenced inside a .glitch-assets file.

You can get the URL for each of your images using the Copy Url button after you click to open that image.

Check out this project to see how you can use relative URLs: https://glitch.com/~assets-lib