Images not loading with custom domain #122046
Replies: 1 comment
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
I'm trying to serve a static site on Pages, however it seems that there are some issues with images
![image](https://private-user-images.githubusercontent.com/35498466/327562953-af68cb4b-a1b6-4d64-bc9c-9178750c6608.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAyODQ4MzYsIm5iZiI6MTcyMDI4NDUzNiwicGF0aCI6Ii8zNTQ5ODQ2Ni8zMjc1NjI5NTMtYWY2OGNiNGItYTFiNi00ZDY0LWJjOWMtOTE3ODc1MGM2NjA4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA2VDE2NDg1NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTgxZWEzOWI3MmI4NjZlYzNkN2ZjODliMGEzZDIyNjllMDEwMWRiODg3ZWQ5MDI5ODY3ZDhhNmY3NzI0YzhiZmImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.5n3Gr1zUATuf5TlO1l0clEMcTEGZEtlvEbQC2ttaBgQ)
The repo in question
At first I thought it was because the repo was private, but that didn't work.
I see that the stylesheet is served properly, and all of the image links are giving 200 however when checking the link it seems that it is broken
I think all of the links in the index file are fine,
![image](https://private-user-images.githubusercontent.com/35498466/327563426-1da36da3-4206-4e0b-aeaa-6b1596f81091.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAyODQ4MzYsIm5iZiI6MTcyMDI4NDUzNiwicGF0aCI6Ii8zNTQ5ODQ2Ni8zMjc1NjM0MjYtMWRhMzZkYTMtNDIwNi00ZTBiLWFlYWEtNmIxNTk2ZjgxMDkxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA2VDE2NDg1NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTMzZGQ3YmI4NWM5MzIxMDhkMzFiY2I2NGJkMDM2YzQyYmFkNTY4MTc1MzczZGUzOWUxZWUzMzViYjE5MDI2NjAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.UEcvPYHOxRNr7nb0p0A8YChSMXAEUzyyVSS2rJtbv9k)
I've used other templates from HTML5 UP where everything is fine, the only difference is using the custom domain
I've searched this for a while, but nothing that helps me so far. It feels like the only other option is to hard code raw image links, but I would really like to keep the repo private in the future
Beta Was this translation helpful? Give feedback.
All reactions