Closed chrisguida closed 4 years ago
Are you accessing the webserver through localhost
, or is it running on a remote server?
Try setting the url
configuration option in _filebazaar.yaml
to the same URL you're using to access the web interface with your browser.
It's running on an Ubuntu VPS. I did try that, but it's not putting the port number into the url when I click links, so they're going to port 80 instead, which of course isn't listening.
Oh hey! I put the port number in the url:
field and now the links work and there's a style applied to the website! I guess that's what I was missing :)
Sweet! Just sold myself a file! It's working!!
Maybe change the docs to say that if you're hosting on a remote URL to be sure to include [:port] at the end of the url
config field?
Awesome! Glad it worked out.
Have you seen the changes in https://github.com/ElementsProject/filebazaar/commit/35674713350285fc5af6576587a4a0d8421951fd (made in response to this issue)? It mentions that the default is http://{host}:{port}/
, which hints that you should be including the port number. Do you think that's clear enough, or should I clarify this further?
I didn't see that, but no, the problem is that it doesn't default to http://{host}:{port}
; it defaults to http://{host}
, it seems to be ignoring the value in port
.
I had to explicitly say http://my-url.com:9678
to get it to work.
This is pretty strange, it definitely looks like it should be adding the port number: https://github.com/ElementsProject/filebazaar/blob/35674713350285fc5af6576587a4a0d8421951fd/src/lib/config.js#L15
It it possible that you had url
set in the config file or as the URL
environment variable, without the port number?
I've got
filebazaar
installed and running, like so:...but when I visit it in my browser, I get a text-only display (rather than a pretty interface as in the readme), and the links don't work. I suppose I have something misconfigured?
_filebazaar.yaml
looks like:Thanks for your help :)