[WIP] Fix failed resource loading for Vercel insights script#101
[WIP] Fix failed resource loading for Vercel insights script#101
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-authored-by: Alessandro100 <18631060+Alessandro100@users.noreply.github.com>
|
|
| @@ -115,7 +118,7 @@ export default async function LocaleLayout({ | |||
| }} | |||
| > | |||
| {children} | |||
| {process.env.VERCEL_ENV === 'production' && ( | |||
| {vercelInsightsEnabled && ( | |||
There was a problem hiding this comment.
@codex[agent] it was discovered this issue is due to the fact that we do not have Web Analytics enabled in Vercel. Revert these changes and remove import { SpeedInsights } from '@vercel/speed-insights/next';
There was a problem hiding this comment.
Reverted the layout change and removed the SpeedInsights usage/import in commit 70c5b3f.
Co-authored-by: Alessandro100 <18631060+Alessandro100@users.noreply.github.com>
|
*Lighthouse ran on https://mobilitydatabase-d4aapeb4z-mobility-data.vercel.app/ * (Desktop)
*Lighthouse ran on https://mobilitydatabase-d4aapeb4z-mobility-data.vercel.app/feeds * (Desktop)
*Lighthouse ran on https://mobilitydatabase-d4aapeb4z-mobility-data.vercel.app/feeds/gtfs/mdb-2126 * (Desktop)
*Lighthouse ran on https://mobilitydatabase-d4aapeb4z-mobility-data.vercel.app/feeds/gtfs_rt/mdb-2585 * (Desktop)
*Lighthouse ran on https://mobilitydatabase-d4aapeb4z-mobility-data.vercel.app/feeds/gbfs/gbfs-flamingo_porirua * (Desktop)
|
Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress.