@wtfalch/foundry 0.39.0 → 0.39.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7550,7 +7550,9 @@ async function provisionPlatformHc(context, deps) {
7550
7550
  { key: 'DB_USER', value: dbUser },
7551
7551
  { key: 'DB_PASSWORD', value: dbPassword },
7552
7552
  { key: 'SITE_ROOT', value: `https://${hostname}` },
7553
- { key: 'ALLOWED_HOSTS', value: hostname },
7553
+ // Django answers 400 to any other Host: foundry's readiness poll comes in as
7554
+ // `platform-hc:8000` and Coolify's own health check as `localhost`.
7555
+ { key: 'ALLOWED_HOSTS', value: `${hostname},${HC_INTERNAL_NAME},localhost` },
7554
7556
  // Healthchecks defaults this to `true` -- see this function's own doc
7555
7557
  // comment. `hostname` is public and Cloudflare-proxied, so sign-up stays
7556
7558
  // closed until a real invite mechanism exists.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wtfalch/foundry",
3
- "version": "0.39.0",
3
+ "version": "0.39.1",
4
4
  "description": "Foundry's SDK: the declared org's types, the plan and apply contracts, and the state store's interface.",
5
5
  "repository": {
6
6
  "type": "git",