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

Vercel hostname doesn't correspond items configuration #251

Open
Antonytm opened this issue Dec 10, 2024 · 2 comments
Open

Vercel hostname doesn't correspond items configuration #251

Antonytm opened this issue Dec 10, 2024 · 2 comments
Assignees

Comments

@Antonytm
Copy link

It looks like an infrastructure issue rather than this project itself, but as it is reproducible on this project, I report it here.

The hostname configuration on Vercel and Sitecore for the Basic website is different. The Sitecore configuration has a —basic suffix, while the Vercel configuration has a —website suffix.

image

image

2024-12-10T17:18:09.121Z sitecore-jss:multisite response in 753ms: {
  site: {
    siteInfoCollection: [
      {
        name: 'Basic',
        hostName: 'deployment-4nu2c4veudc0r9aare0a-basic.vercel.app',
        language: 'en'
      },
      {
        name: 'Financial',
        hostName: 'deployment-4nu2c4veudc0r9aare0a-financial.vercel.app',
        language: 'en'
      },
      {
        name: 'Services',
        hostName: 'deployment-4nu2c4veudc0r9aare0a-services.vercel.app',
        language: 'en'
      },
      { name: 'website', hostName: '', language: 'en' }
    ]
  }
}
@Antonytm
Copy link
Author

It is a minor issue that doesn't affect demo functionality but can potentially cause problems in the multisite environment if the default website is other than Basic.

@adoprog
Copy link
Member

adoprog commented Dec 11, 2024

Thanks, we'll change the hostname to "-website" for the Basic site.

@adoprog adoprog self-assigned this Dec 11, 2024
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

No branches or pull requests

2 participants