Coder Social home page Coder Social logo

Setup questions about filebazaar HOT 8 CLOSED

elementsproject avatar elementsproject commented on September 22, 2024
Setup questions

from filebazaar.

Comments (8)

shesek avatar shesek commented on September 22, 2024

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.

from filebazaar.

chrisguida avatar chrisguida commented on September 22, 2024

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.

from filebazaar.

chrisguida avatar chrisguida commented on September 22, 2024

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 :)

from filebazaar.

chrisguida avatar chrisguida commented on September 22, 2024

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?

from filebazaar.

shesek avatar shesek commented on September 22, 2024

Awesome! Glad it worked out.

Have you seen the changes in 3567471 (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?

from filebazaar.

chrisguida avatar chrisguida commented on September 22, 2024

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.

from filebazaar.

chrisguida avatar chrisguida commented on September 22, 2024

I had to explicitly say http://my-url.com:9678 to get it to work.

from filebazaar.

shesek avatar shesek commented on September 22, 2024

This is pretty strange, it definitely looks like it should be adding the port number:

config.url = config.url || process.env.URL || `http://${config.host}:${config.port}/`

It it possible that you had url set in the config file or as the URL environment variable, without the port number?

from filebazaar.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.