data-8 / textbook

The textbook Computational and Inferential Thinking: The Foundations of Data Science

Home Page:http://www.inferentialthinking.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

make serve doesn't work due to redirect

davidwagner opened this issue · comments

If I use make serve to host a test version of the site locally and then visit http://127.0.0.1:4000/, it doesn't work: there's an automatic redirect that takes you to https://www.inferentialthinking.com/chapters/intro, which isn't the local version of the site.

Manual work-around for now: run make serve, then manually visit http://127.0.0.1:4000/chapters/intro. But it might be nicer if make serve worked.

@davidwagner you're right - I haven't been able to figure out a way to get this working locally without having to manually paste in the URL, I agree it's annoying :-/