Coder Social home page Coder Social logo

Comments (5)

evantahler avatar evantahler commented on August 21, 2024

I think it makes sense to source this information from the actionhero server most of the time. Perhaps we don't need a default option, but rather an host_ovveride and port_override options?

from ah-swagger-plugin.

Onfire7 avatar Onfire7 commented on August 21, 2024

Yeah, that's one of the things I thought was weird, it requires that you set a host, but then pulls the port from the config without providing a way to change it. I think pulling both from the server, and then allowing you to override them makes more sense.

from ah-swagger-plugin.

evantahler avatar evantahler commented on August 21, 2024

@supamii, your thoughts?

from ah-swagger-plugin.

supamii avatar supamii commented on August 21, 2024

Hi friends, Can't believe it's been 23 days... I'll definitely get this overridden with something more sensible - i.e. host_override and port_override

from ah-swagger-plugin.

supamii avatar supamii commented on August 21, 2024

Admittedly a bit of a configuration nightmare, but I've now set the config parameter baseUrl to omit the port number entirely.

This means one may specify
baseUrl: 'myserverip:8080'

or alternatively set
hostOverride: 'myserverip',
portOverride: 8080

I hope this helps!

from ah-swagger-plugin.

Related Issues (20)

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.