LinkinStars commented on PR #1357:
URL: https://github.com/apache/answer/pull/1357#issuecomment-2999207207

   > BTW. What is the difference between `api_url` and `api_base_url`? Can we 
use one?
   
   The `api_url` is used by the front-end and the `api_base_url` is used by the 
back-end.
   
   Separate configurations were made because in practice there may be multiple 
cases of secondary routing. For example, some users need to
   
   - Use xxx.com/system/question to access the front-end page 
   - Use xxx.com/system/answer/api/v1 to access the back-end API
   
   while another user may need to 
   
   - Use xxx.com/ui/question to access the front-end page 
   - Use xxx.com/system/answer/api/v1 to access the back-end API
   
   So, to cope with the different secondary paths that occur in practice. Of 
course, I believe for the most part they are both the same.


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@answer.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@answer.apache.org
For additional commands, e-mail: issues-h...@answer.apache.org

Reply via email to