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

basePath is required #22

Open
newmanw opened this issue Dec 31, 2014 · 3 comments
Open

basePath is required #22

newmanw opened this issue Dec 31, 2014 · 3 comments

Comments

@newmanw
Copy link

newmanw commented Dec 31, 2014

When I leave out basePath parameter I get the following error:

node_modules/swagger-express/lib/swagger-express/index.js:228
throw new Error(''basePath' is required.')

Possible to set basePath dynamically? This would make it much easier to deploy to different domains.

@estefaniaa
Copy link

+1 for this feature.

@mathsoft-dev
Copy link

+1

@andresmeidla
Copy link

setting the basePath to "/" seems to do the trick

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

4 participants