1
0
Fork 0

test updates

This commit is contained in:
Matthias Kretschmann 2023-10-03 17:51:59 +01:00
parent 4422be28d8
commit 19ac7168f1
Signed by: m
GPG Key ID: 606EEEF3C479A91F
3 changed files with 4 additions and 3 deletions

View File

@ -23,7 +23,7 @@ const descriptionFinal = description
const canonicalURL =
Astro.url.pathname === '/'
? Astro.site?.origin
: `${Astro.site?.origin}${Astro.url.pathname.replace}`
: `${Astro.site?.origin}${Astro.url.pathname}`
const imageFinal = `${Astro.site?.origin}${
image

View File

@ -2,7 +2,7 @@ import { test, expect } from '@playwright/test'
import siteConfig from '@config/blog.config'
const postSlug = 'gatsby-redirect-from'
const canonical = `${siteConfig.siteUrl}/${postSlug}`
const canonical = `${siteConfig.siteUrl}/${postSlug}/`
test.beforeEach(async ({ page }) => {
await page.goto(`/${postSlug}/`)

View File

@ -26,7 +26,8 @@ export default getViteConfig({
'src/images/components',
'src/pages',
'**/content',
'public'
'public',
'**/tmp/**/*'
]
}
}