question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

siteRoot declaration causes asstes url corruption on deploy to HTTPS netlify

See original GitHub issue

I’ve set my siteRoot to https://www.taximow.com in static.config.js

After deploy, I navigated to http://www.taximow.com and my site loaded correctly. I’ve enforced SSL, and navigated to https://www.taximow.com and I get network errors on each asset. - js, css, webp. - all of them.

I checked network tab and I found that links to assets has been changed

screenshot 2018-02-04 22 51 03

I commented out siteRoot in static.config.js, redeployed, and things get back to normal. Except I do not have sitemap.xml

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:13 (9 by maintainers)

github_iconTop GitHub Comments

4reactions
tannerlinsleycommented, Feb 5, 2018

Okay, I’ve published version 5.1.2 that should fix it. Looking for at least two confirmations. Go!

0reactions
tannerlinsleycommented, Feb 5, 2018

Reopen if issues persist!

Read more comments on GitHub >

github_iconTop Results From Across the Web

File-based configuration - Netlify Docs
Use a netlify.toml configuration file to specify how the platform builds and deploys your project.
Read more >
HTTPS (SSL) - Netlify Docs
When you create a new site on Netlify, it's instantly secured at the Netlify-generated URL (for example, https://brave-curie-12345.netlify.app ). If you add a ......
Read more >
Download build assets from any of your deploys - Netlify
We'll package up all of the assets from that deploy into one handy zip file for you to download. More information. Netlify Build...
Read more >
Publishing your site assets with the Netlify CLI
Learn how the Netlify command line interface (CLI) can publish your web site assets to the Netlify hosting infrastructure for you with a ......
Read more >
Some images producing 'failed to load resource' error on ...
Interestingly, which images show up in the build differ from deploy to deploy. ... https://asdfasdfasdf.netlify.com/ - does not find assets - deployed ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found