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

set uri path different api crawl #216

Open
fibonacci998 opened this issue Oct 27, 2022 · 2 comments
Open

set uri path different api crawl #216

fibonacci998 opened this issue Oct 27, 2022 · 2 comments
Assignees
Labels

Comments

@fibonacci998
Copy link

fibonacci998 commented Oct 27, 2022

Hi.
I used swagger-stats in moleculer JS Framework like the example:
example
It served swagger-stats through abc.xyz/api/dashboard/#/ and crawl api statistic abc.xyz/api/... But I want to change to abc.xyz/admin/dashboard/#/ and crawl api statistic in abc.xyz/api/... Can you help me?
Thanks.

@sv2 sv2 self-assigned this Nov 27, 2022
@sv2 sv2 added the question label Nov 27, 2022
@sv2
Copy link
Collaborator

sv2 commented Nov 27, 2022

Try option uriPath
https://swaggerstats.io/guide/conf.html

@fibonacci998
Copy link
Author

fibonacci998 commented Nov 29, 2022

I tried uriPath, but it still can be accessed from abc.xyz/api/uriPath and abc.xzy/adming/uriPath. I cannot disable abx.xyz/api/uriPath

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants