tldr
tldr copied to clipboard
Fix #13 'Unexpected status code: 404' error
According to a .gitignore file from tldr-pages repo file index.json was moved from the repo to a https://tldr-pages.github.io/assets/index.json so I fixed it and now it works.
@kgantsov looks like you changed the var that was referencing https://github.com/pranavraja/tldr/blob/ca051027f9afe00632d762d25536165c719416af/main.go#L18.
it might be better to change it here
@Sjeanpierre Actually it's not going to work because this variable remoteAddress also used for getting docs pages and it did work previously only because the file index.json also was there but now it has been moved.