Skip to content

Uso env site#79

Merged
Scot3004 merged 2 commits intomasterfrom
env-site
Feb 10, 2026
Merged

Uso env site#79
Scot3004 merged 2 commits intomasterfrom
env-site

Conversation

@Scot3004
Copy link
Contributor

Pull request

Habilta el uso de import.meta.env.SITE

@bolt-new-by-stackblitz
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@netlify
Copy link

netlify bot commented Feb 10, 2026

Deploy Preview for secorto-astro ready!

Name Link
🔨 Latest commit d6e2387
🔍 Latest deploy log https://app.netlify.com/projects/secorto-astro/deploys/698aa16326e0b300082239b5
😎 Deploy Preview https://deploy-preview-79--secorto-astro.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 100
Accessibility: 100
Best Practices: 100
SEO: 100
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@cypress
Copy link

cypress bot commented Feb 10, 2026

SeCOrTo web    Run #216

Run Properties:  status check passed Passed #216  •  git commit d6e2387178: Ignore paths build typescript
Project SeCOrTo web
Branch Review pull/79/head
Run status status check passed Passed #216
Run duration 01m 35s
Commit git commit d6e2387178: Ignore paths build typescript
Committer Sergio Orozco
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 6
View all changes introduced in this branch ↗︎

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Este PR habilita el uso de la URL base configurada en Astro (import.meta.env.SITE) para evitar hardcodear el dominio en distintas partes del sitio.

Changes:

  • Amplía tsconfig.json para excluir node_modules y playwright-report del análisis de TypeScript.
  • Actualiza el RSS para tomar el site desde import.meta.env.SITE (como fallback de context.site).
  • Reemplaza URLs absolutas hardcodeadas en canonical/hreflang y en el Footer para usar import.meta.env.SITE.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
tsconfig.json Excluye artefactos adicionales (node_modules, playwright-report) del scope de TS.
src/pages/rss.xml.ts Usa import.meta.env.SITE como base URL para el RSS cuando context.site no esté disponible.
src/pages/[locale]/[section]/[...id].astro Genera canonical y hreflang basados en import.meta.env.SITE en vez de un dominio fijo.
src/components/Footer.astro Cambia el link del nombre del autor para apuntar al site configurado.

@Scot3004 Scot3004 merged commit 9ea1046 into master Feb 10, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant