Install the plugin egg-cors. yarn add egg-cors. 1. Configure plugin. Add the following code to plugin.js in the root directory config folder.
確定! 回上一頁