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

removing "/api" prefix #7

Open
GildedHonour opened this issue Feb 2, 2017 · 1 comment
Open

removing "/api" prefix #7

GildedHonour opened this issue Feb 2, 2017 · 1 comment

Comments

@GildedHonour
Copy link

My config:

Apipie.configure do |config|
  config.app_name = "MyApp"
  config.doc_base_url = "/apipie"
  config.api_controllers_matcher = "#{Rails.root}/app/controllers/**/*.rb"
  config.validate = false
end

But at http://localhost:3000/apipie it still shows the urls with "/api" prefix.

@iNecas
Copy link
Member

iNecas commented Feb 2, 2017

Have you tried to use _api_base_url "https://github.com/Apipie/apipie-rails#configuration-reference"?

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

2 participants