ArchiveBox: Bugfix: docker iframe adds /data/ to url incorrectly
Describe the bug
Using the docker-compose.yml instructions, adding a URL works fine. When accessing that URL I get a 404 within the iframe.
Steps to reproduce
- Start docker-compose up
- Add URL
- Click on the URL. I get the top bar, but the iframe is a 404
Screenshots or log output
It looks like the iframe is trying to go to http://server/data/archive/1600957105.659589/site/index.html
when the data folder doesn’t exist as a web entity.
Browsing to http://server/archive/1600957105.659589/site/index.html works. (note: without the /data/ folder)
How can I get the iframe working correctly?
Software versions
Latest docker-compose.yml
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 15 (8 by maintainers)
Yes, it is added in there. However, a trailing slash should not (ideally) break anything at all. I will remove it from that line, but I will leave https://github.com/pirate/ArchiveBox/issues/487 open to find a more permanent solution. Thanks!
@cdvv7788 It failed.
docker build . -t archivebox --no-cache
Yes, it should be possible. If you are getting any issue, please let me know and I will check it.
@poblabs https://github.com/pirate/ArchiveBox/pull/486 This should fix the issue.
I will give this a check. This may be related to some changes we made to calculate the path to
wget
.