You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/08/30 02:46:20 UTC
[GitHub] [pulsar] tuteng opened a new pull request #5076: [website]The
website cannot get the swagger version file
tuteng opened a new pull request #5076: [website]The website cannot get the swagger version file
URL: https://github.com/apache/pulsar/pull/5076
### Motivation
After multiple versions of rest API are currently supported, a prefix is added to the route of the online environment when it is displayed. resulting in the js file not being available.
![image](https://user-images.githubusercontent.com/1907867/63989496-18a82280-cb13-11e9-84e7-be2baaf0c889.png)
### Modifications
* Change js file search to a relative path
### Verifying this change
Click http://pulsar.apache.org/admin-rest-api/js/getSwaggerByVersion.js 404 not found
Click http://pulsar.apache.org/admin-rest-api/../js/getSwaggerByVersion.js OK
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services