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

apidetails not finding my service_id #3

Open
mhockelberg opened this issue Mar 11, 2019 · 1 comment
Open

apidetails not finding my service_id #3

mhockelberg opened this issue Mar 11, 2019 · 1 comment

Comments

@mhockelberg
Copy link

After configuring, unable to get the apidetails page to display properly. It doesn't seem to be able to find my service_id.
New_Issue_·_3scale_3scale-discover-APIs_and_Mozilla_Firefox

@mhockelberg
Copy link
Author

The wrong URL value is being set which is causing the script to err out.

FIX:

Change needed to the extractServiceID function in the apidetail.html file:
Modify this line:
var url = window.location.href
To this:
var url = window.location.href == 'about:srcdoc' ? window.parent.location : window.location

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