Skip to content

Commit

Permalink
modify base path
Browse files Browse the repository at this point in the history
  • Loading branch information
gameofby committed Jan 12, 2024
1 parent a1c518a commit 12c8687
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/Image.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import NextImage, { ImageProps } from 'next/image'

const Image = ({ src, ...rest }: ImageProps) => (
<NextImage src={`/tailwind-nextjs-starter-blog${src}`} {...rest} />
<NextImage src={`/timelxy.github.io${src}`} {...rest} />
)

export default Image
2 changes: 1 addition & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down

0 comments on commit 12c8687

Please sign in to comment.