Catouse
Catouse
I want to copy a icon file to a new place and rename it to favicon.ico. ```js cpx.copy('./resources/icon.ico', `${destRoot}/favicon.ico`) ```
```log [vite] Internal server error: Cannot set headers after they are sent to the client at new NodeError (node:internal/errors:372:5) at ServerResponse.setHeader (node:_http_outgoing:576:11) at send (/home/user/projects/my_project/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-80fe9c6b.js:57369:9) at viteIndexHtmlMiddleware (/home/user/projects/my_project/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-80fe9c6b.js:57779:28) ``` The...