lightning-decoder icon indicating copy to clipboard operation
lightning-decoder copied to clipboard

website assumes wrong url

Open j-chimienti opened this issue 4 years ago • 1 comments

Issue:

fork and deploy code to github pages https://j-chimienti.github.io/lightning-decoder/

Website assumes window.location.origin as the homepage which is wrong. It assumes the path is a lightning invoice, which fails to parse and page refresh fails

Screen Shot 2021-11-19 at 9 08 08 AM n`

j-chimienti avatar Nov 19 '21 14:11 j-chimienti

Interesting bug. It seems specific to your deployment scenario which makes the code live under a folder. PRs are always welcome though :)

andrerfneves avatar Jul 02 '22 20:07 andrerfneves