Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read from a location other then / to get resourceListingJson #103

Open
powellquiring opened this issue Nov 18, 2015 · 1 comment
Open

Read from a location other then / to get resourceListingJson #103

powellquiring opened this issue Nov 18, 2015 · 1 comment

Comments

@powellquiring
Copy link

I traced the swagger library network traffic in the browser to the point where "/" is fetched to read the resourceListingJson string.

When deployed, my server application is at: http://computer/application and when http://computer is read my application is not invoked so the following redirect code is never executed:

http.HandleFunc("/", IndexHandler)

I can't figure out a technique to get around this. Do you know of one?

(btw I love this project)

@powellquiring
Copy link
Author

Is it possible to configure the swagger ui to have a root different then "/". In my example I would set the swagger ui root to "/application"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant