We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1381961 commit 6b0c6b1Copy full SHA for 6b0c6b1
packages/util/postinstall.mjs
@@ -52,17 +52,17 @@ async function getWebConfig() {
52
).catch((e) => {
53
// TODO add sensible error
54
console.error(e);
55
- return undefined;
+ return configFromEnvironment;
56
});
57
if (!response.ok) {
58
59
console.error("yikes.");
60
61
}
62
const json = await response.json().catch(() => {
63
64
console.error("also yikes.");
65
66
67
return { ...json, apiKey };
68
0 commit comments