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

Wrong @base URI returned in /vocabularies API method #558

Closed
osma opened this issue Oct 15, 2016 · 2 comments
Closed

Wrong @base URI returned in /vocabularies API method #558

osma opened this issue Oct 15, 2016 · 2 comments

Comments

@osma
Copy link
Member

osma commented Oct 15, 2016

At which URL did you encounter the problem?

http://api.finto.fi/rest/v1/vocabularies?lang=en

What steps will reproduce the problem?

  1. Perform above API call

What is the expected output? What do you see instead?

The returned @base value is http://api.finto.fi/var/www/finto.fi/rest/v1/vocabularies when it should be http://api.finto.fi/rest/v1/vocabularies

@osma
Copy link
Member Author

osma commented Oct 15, 2016

Only happens for api.finto.fi, not finto.fi nor dev.finto.fi

@osma
Copy link
Member Author

osma commented Oct 15, 2016

Fixed by configuration, see NatLibFi/Finto-data@9b795b1

@osma osma closed this as completed Oct 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant