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

upstream value in PLATFORM_ROUTES is incorrect #124

Open
gilzow opened this issue May 31, 2024 · 2 comments
Open

upstream value in PLATFORM_ROUTES is incorrect #124

gilzow opened this issue May 31, 2024 · 2 comments

Comments

@gilzow
Copy link
Collaborator

gilzow commented May 31, 2024

the upstream value in a route object includes the upstream endpoint instead of just the upstream name

in ddev:

$ echo $PLATFORM_ROUTES | base64 --decode | jq
{
  "https://multisite-dir-demo.ddev.site/": {
    "primary": true,
    "id": null,
    "production_url": "<no value>",
    "attributes": {},
    "upstream": "bvdr:http",
    "type": "upstream",
    "original_url": "<no value>"
  }
}

vs in platform.sh

  "https://testdev-a57goni-x2uapu3x4o234.us-4.platformsh.site/": {
    "attributes": {},
    "id": null,
    "original_url": "https://{default}/",
    "primary": true,
    "production_url": "https://master-7rqtwti-x2uapu3x4o234.us-4.platformsh.site/",
    "type": "upstream",
    "upstream": "bvdr"
  },

in #64 the sample from ddev shows the correct upstream value so possibly a regression at some point?

@rfay
Copy link
Member

rfay commented May 31, 2024

@rfay
Copy link
Member

rfay commented May 31, 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