diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index f88a800..1c3b9bc 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -41,6 +41,8 @@ jobs: ${{ runner.os }}-yarn- - name: Update node modules run: yarn install --immutable + - name: Lint + run: yarn lint - name: Build app and export to ./out run: EXPORT=1 UNOPTIMIZED=1 yarn build - name: Set up Docker Buildx diff --git a/app/sitemap.ts b/app/sitemap.ts index 64738da..88800c3 100644 --- a/app/sitemap.ts +++ b/app/sitemap.ts @@ -14,7 +14,7 @@ export default function sitemap(): MetadataRoute.Sitemap { lastModified: post.lastmod || post.date, })) - const routes = ['', 'blog','likes', 'projects', 'tags'].map((route) => ({ + const routes = ['', 'blog', 'likes', 'projects', 'tags'].map((route) => ({ url: `${siteUrl}/${route}`, lastModified: new Date().toISOString().split('T')[0], }))