Fuchange opened a new pull request #1055: URL: https://github.com/apache/apisix-dashboard/pull/1055
Please answer these questions before submitting a pull request - Why submit this pull request? - [X] Bugfix - [ ] New feature provided - [ ] Improve performance - Related issues ___ ### Bugfix - Description When I build apisix-dashboard and run : `APISIX_API_WORKDIR=/usr/local/apisix-dashboard/ /usr/local/bin/manager-api` at /root , there is no erros and said : ``` 2020-12-15T17:35:09.269+0800 filter/request_id.go:41 / {"status": 404, "host": "10.1.30.28:9000", "query": "", "requestId": "69920330-aec8-4d31-b2f6-374909b0b3ed", "latency": 0, "remoteIP": "10.1.30.99", "method": "GET", "errs": []} 2020-12-15T17:35:13.961+0800 filter/request_id.go:41 / {"status": 404, "host": "10.1.30.28:9000", "query": "", "requestId": "164126fd-adc8-4b0a-a434-fa4bc79209ff", "latency": 0, "remoteIP": "10.1.30.99", "method": "GET", "errs": []} 2020-12-15T17:35:14.093+0800 filter/request_id.go:41 / {"status": 404, "host": "10.1.30.28:9000", "query": "", "requestId": "f2d3d9d1-a9a6-4210-9d37-95c3c449f86f", "latency": 0, "remoteIP": "10.1.30.99", "method": "GET", "errs": []} ``` - How to fix? That is because conf.WebDir is fixed "./html/" , it doesn't change with conf.WorkDir . If Im not in WorkDir, it will be wrong. So I change the path "conf.WebDir" to "conf.WorkDir + conf.WebDir". I'm sorry I didn't set up issuse in advance, because I think this PR is too small. ___ ### New feature or improvement - Describe the details and related test reports. ---------------------------------------------------------------- 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