tldr icon indicating copy to clipboard operation
tldr copied to clipboard

Fix #13 'Unexpected status code: 404' error

Open kgantsov opened this issue 7 years ago • 2 comments

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 avatar Nov 28 '17 19:11 kgantsov

@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 avatar Dec 01 '17 23:12 Sjeanpierre

@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.

kgantsov avatar Dec 02 '17 21:12 kgantsov