引入react-fontawesome,升级至v5.15;
next/link补齐passHref;
替换img为next/Image,优化图片
This commit is contained in:
tangly1024
2021-12-03 15:01:11 +08:00
parent 88d1e0742a
commit 49ab1eb124
32 changed files with 243 additions and 202 deletions

View File

@@ -3,9 +3,9 @@ module.exports = {
webpack5: true
},
images: {
domains: ['gravatar.com']
domains: ['gravatar.com', 'www.notion.so', 'avatars.githubusercontent.com']
},
async headers() {
async headers () {
return [
{
source: '/:path*{/}?',