Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use $URL not $DEPLOY_PRIME_URL #1265

Merged
merged 2 commits into from
Dec 27, 2024
Merged

Conversation

illicitonion
Copy link
Member

@illicitonion illicitonion commented Dec 27, 2024

$DEPLOY_PRIME_URL appears to point at a .netlify.app version of the site, rather than the URL it's actually getting deployed as.

This manifests as a bunch of CORS errors like:

Access to manifest at 'https://main--cyf-programming.netlify.app/manifest.json' from origin 'https://programming.codeyourfuture.io' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Copy link

netlify bot commented Dec 27, 2024

Deploy Preview for cyf-sdc ready!

Name Link
🔨 Latest commit d6e4f72
🔍 Latest deploy log https://app.netlify.com/sites/cyf-sdc/deploys/676eadca9e55540008d34d00
😎 Deploy Preview https://deploy-preview-1265--cyf-sdc.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

Copy link

netlify bot commented Dec 27, 2024

Deploy Preview for cyf-launch ready!

Name Link
🔨 Latest commit d6e4f72
🔍 Latest deploy log https://app.netlify.com/sites/cyf-launch/deploys/676eadca0ed740000888fceb
😎 Deploy Preview https://deploy-preview-1265--cyf-launch.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

Copy link

netlify bot commented Dec 27, 2024

Deploy Preview for cyf-programming ready!

Name Link
🔨 Latest commit d6e4f72
🔍 Latest deploy log https://app.netlify.com/sites/cyf-programming/deploys/676eadca9a0eb6000889cb21
😎 Deploy Preview https://deploy-preview-1265--cyf-programming.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: 99 (no change from production)
Accessibility: 100 (no change from production)
Best Practices: 92 (no change from production)
SEO: 90 (no change from production)
PWA: -
View the detailed breakdown and full score reports

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

Copy link

netlify bot commented Dec 27, 2024

Deploy Preview for cyf-common ready!

Name Link
🔨 Latest commit d6e4f72
🔍 Latest deploy log https://app.netlify.com/sites/cyf-common/deploys/676eadca55503100081a032f
😎 Deploy Preview https://deploy-preview-1265--cyf-common.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

Copy link

netlify bot commented Dec 27, 2024

Deploy Preview for cyf-curriculum canceled.

Name Link
🔨 Latest commit d6e4f72
🔍 Latest deploy log https://app.netlify.com/sites/cyf-curriculum/deploys/676eadcae95d5b0008ce0e53

Copy link

netlify bot commented Dec 27, 2024

Deploy Preview for cyf-itd ready!

Name Link
🔨 Latest commit d6e4f72
🔍 Latest deploy log https://app.netlify.com/sites/cyf-itd/deploys/676eadcaf5b3ac000839d411
😎 Deploy Preview https://deploy-preview-1265--cyf-itd.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: 91 (🟢 up 5 from production)
Accessibility: 100 (no change from production)
Best Practices: 92 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports

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

Copy link

netlify bot commented Dec 27, 2024

Deploy Preview for cyf-tracks ready!

Name Link
🔨 Latest commit d6e4f72
🔍 Latest deploy log https://app.netlify.com/sites/cyf-tracks/deploys/676eadca4770bb0008eab29b
😎 Deploy Preview https://deploy-preview-1265--cyf-tracks.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

Copy link

netlify bot commented Dec 27, 2024

Deploy Preview for cyf-piscine ready!

Name Link
🔨 Latest commit d6e4f72
🔍 Latest deploy log https://app.netlify.com/sites/cyf-piscine/deploys/676eadca8b3c7e0008ed8d0e
😎 Deploy Preview https://deploy-preview-1265--cyf-piscine.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: 85 (🔴 down 15 from production)
Accessibility: 100 (no change from production)
Best Practices: 92 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports

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

$DEPLOY_PRIME_URL appears to point at a .netlify.app version of the
site, rather than the URL it's actually getting deployed as for prod
deploys. But is needed for preview deploys.
@illicitonion illicitonion force-pushed the use-url-not-deploy-prime-url branch from 2b44d96 to 39ba212 Compare December 27, 2024 00:34
@illicitonion illicitonion merged commit 08c488f into main Dec 27, 2024
34 checks passed
@illicitonion illicitonion deleted the use-url-not-deploy-prime-url branch December 27, 2024 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants