From 12c868708e65fb6f5acf15efede4b140124f9293 Mon Sep 17 00:00:00 2001 From: timey Date: Fri, 12 Jan 2024 22:49:43 +0800 Subject: [PATCH] modify base path --- components/Image.tsx | 2 +- next.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/Image.tsx b/components/Image.tsx index 768b1f0..e4adf6e 100644 --- a/components/Image.tsx +++ b/components/Image.tsx @@ -1,7 +1,7 @@ import NextImage, { ImageProps } from 'next/image' const Image = ({ src, ...rest }: ImageProps) => ( - + ) export default Image diff --git a/next.config.js b/next.config.js index 87d282c..3e587fd 100644 --- a/next.config.js +++ b/next.config.js @@ -65,7 +65,7 @@ module.exports = () => { eslint: { dirs: ['app', 'components', 'layouts', 'scripts'], }, - basePath: "/tailwind-nextjs-starter-blog", + basePath: "/timelxy.github.io", output: 'export', images: { remotePatterns: [