Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dasht-server links not open #45

Closed
laoshaw opened this issue May 12, 2019 · 8 comments
Closed

dasht-server links not open #45

laoshaw opened this issue May 12, 2019 · 8 comments

Comments

@laoshaw
Copy link

laoshaw commented May 12, 2019

after dasht-server started I can search in the browser just fine, but when I click the search results it does not open the URLs. Chrome says "Not allowed to load local resource: "

@laoshaw laoshaw closed this as completed May 12, 2019
@sunaku
Copy link
Owner

sunaku commented May 12, 2019

This problem is described in dasht-server documentation, along with possible solutions, here:

Browser refuses to load file:// links
http://sunaku.github.io/dasht/man/man1/dasht-server.1.html#browser-refuses-to-load-file-links

@laoshaw
Copy link
Author

laoshaw commented May 12, 2019

yes found that by reading your scripts. thanks.

@jb55
Copy link

jb55 commented May 22, 2019

why not rewrite links and serve files over http?

@sunaku sunaku reopened this Jul 3, 2019
@MartyLake
Copy link

I second jb55. In windows 10, it is possible to use dasht in WSL, but the local links would not correspond to a valid windows path but a WSL path instead. Serving the files in http would solve this but would require parsing the sent html to also fix the paths included there in case the documentation also links to other pages directly.

@sunaku
Copy link
Owner

sunaku commented May 2, 2020

Now implemented in the issue-45 branch. Please try it out and let me know if you find any problems.

@jb55
Copy link

jb55 commented May 2, 2020

works great!

@MartyLake
Copy link

it works !!!! thanks !

@sunaku
Copy link
Owner

sunaku commented May 5, 2020

Thanks for testing. 👍 Fix merged into master at commit 7b15337.

@sunaku sunaku closed this as completed May 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants