-
Notifications
You must be signed in to change notification settings - Fork 107
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
Fix issue #26 #27
Fix issue #26 #27
Conversation
i'm doubtful this patch will ever be accepted but it would be amazing if this could get put into the haste client! |
Well thanks! 👍 |
No problem - FYI for posterity:
Thanks @vaibhav92 ! |
Tested it and it's working. But in doing so I found a bug with haste-server. I'm running it under a sub dir with a nginx proxy as described in the documentation. It seems as though i had to apply the patch linked in the wiki to get pasting to work at all. [Otherwise I would get a "something went wrong error." and the url would redirect to the main domain name. so instead of "domainname.com/haste" it would go back to "domanname" but stay on the hastebin page.] After applying the patch from the documentation. I can now paste and save it properly, But when i then copy the link and attempt to view it on another tab it redirects to domainname/haste. Any ideas what would cause this behavior? |
Yeah unfortunately |
oh okay, so for now the only way to get it to work is a subdomain? I see that when I paste it makes the file then trying to access it it gives the error "warn: document not found key=undefined." Thanks for the project your provide, its been great for work! |
That's right. I'm glad you like the project - and I'll keep the feature in mind when I/if have time! |
This small patch fixes the issue when the hastebin application is deployed to the non default path on the web-server.
Test with non default server
Test with default server