fixed unlighthouse 4

This commit is contained in:
Firq 2025-04-08 21:15:42 +02:00
parent 2ec229f40b
commit 3da3625d16
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
3 changed files with 8 additions and 3 deletions

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "@firq/fgosite",
"version": "0.2.0-pre.84",
"version": "0.2.0-pre.85",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@firq/fgosite",
"version": "0.2.0-pre.84",
"version": "0.2.0-pre.85",
"dependencies": {
"@astro-community/astro-embed-youtube": "^0.5.6",
"@astrojs/check": "^0.9.4",

View file

@ -1,7 +1,7 @@
{
"name": "@firq/fgosite",
"type": "module",
"version": "0.2.0-pre.84",
"version": "0.2.0-pre.85",
"private": true,
"scripts": {
"dev": "astro dev",

View file

@ -17,6 +17,11 @@ export default async () => {
height: 823,
deviceScaleFactor: 1.75,
},
lighthouseConfig: {
settings: {
skipAudits: ['is-on-https', 'redirects-http'],
},
},
},
puppeteerOptions: {
args: ['--no-sandbox', '--disable-setuid-sandbox'],