You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2, put the picture under the dist folder favicon.ico
3, npm run dev or npm start start
4. The icon you get at http://ip/favicon.ico is always the default icon for egg.
It seems that it has not been processed by the egg-static plugin. How can I configure custom ico?
目的:希望通过egg-static插件,提供静态网页服务
1、配置config.default.js
2、dist文件夹下放置图片 favicon.ico
3、npm run dev或者npm start启动
4、访问http://ip/favicon.ico 得到的图标始终是egg默认的图标
好像是并没有经过egg-static插件处理,请问如何配置可以实现自定义ico?
The text was updated successfully, but these errors were encountered: