fix: add prefix in app service
in main.py of the server folder, the code of setting code looks like this:
i think it will be more friendly for rest api if we add route prefix.
i add something like this.
[!IMPORTANT] Add route prefixes
/retrieveand/ingestto routers inmain.pyfor REST-friendly API.
- Routing:
- Add route prefix
/retrievetoretrieve.routerinmain.py.- Add route prefix
/ingesttoingest.routerinmain.py.This description was created by
for aa2fb5fa01260eb35af17d164b79583e37f211b6. You can customize this summary. It will automatically update as commits are pushed.
Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.
I have read the CLA Document and I hereby sign the CLA
jasontu seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.
I have read the CLA Document and I hereby sign the CLA