1.在終端中導航到 api 目錄,並安裝CORS 依賴。 npm install --save cors. 2.開啟 my_awesome_project/api/app.js 檔案,新增如下程式碼:
確定! 回上一頁