liuxiran opened a new pull request #964:
URL: https://github.com/apache/apisix-dashboard/pull/964


   Please answer these questions before submitting a pull request
   
   - Why submit this pull request?
   - [ ] Bugfix
   
   - Related issues
   fix: https://github.com/apache/apisix-dashboard/issues/835
   _
   ### New feature or improvement
   - Describe the details and related test reports.
   
   Based on the design of proposal, there two problems found in the actual 
implementation process:
   
   1.  The **original** design was to **create a new page**. Once implemented, 
I experienced myself, I have to switch pages to check out the route url I want 
to debug.
   Finally, borrowed from the plugin config, I used `Draw` to show the debug 
page, so that use can do debug in the route list page
   
   ![2020-12-04 
13-42-20屏幕截图](https://user-images.githubusercontent.com/2561857/101127074-b7390280-3637-11eb-8b5a-bc07a63e7e2d.png)
   
   ![2020-12-04 
13-53-40屏幕截图](https://user-images.githubusercontent.com/2561857/101127638-f3209780-3638-11eb-8544-7f1f771c4029.png)
   
   2. A new API  `POST /apisix/admin/debug-request-forwarding` has been added 
to the manager-api to help FE forward the debug request. Due to browser‘s same 
origin policy, some interfaces are not set `Access-Control-Allow-*` headers , 
simple FE requests cannot succeed.
   
   


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to