Skip to content
This repository was archived by the owner on Sep 26, 2021. It is now read-only.

Fix #13 'Unexpected status code: 404' error #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kgantsov
Copy link

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.

@Sjeanpierre
Copy link

@kgantsov looks like you changed the var that was referencing

tldr/main.go

Line 18 in ca05102

var remoteAddress string = "https://raw.github.com/tldr-pages/tldr/master/pages"
.

it might be better to change it here

@kgantsov
Copy link
Author

kgantsov commented Dec 2, 2017

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants