Images not showing up in hosted site

后端 未结 3 652
面向向阳花
面向向阳花 2021-01-12 03:42

Thanks for taking the time to look at this, I\'ve researched as best I can but am not coming up with anything. I saw a similar stack overflow post about waiting for images t

3条回答
  •  一生所求
    2021-01-12 03:55

    It is probably because the src, rel, and href tags contain absolute urls which causes firebase issues while getting to the right file. What you must do is, get all the URLs to be relative, such as: images/image1.png you must do this even with your css and js links. Also, you must store every thing in a folder named public, or you will have to change the name to your directory while prompted in the command prompt regarding to use specific directory as public.

提交回复
热议问题