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.
scripts/deploy.js
1 parent 68e56f7 commit bfc678cCopy full SHA for bfc678c
scripts/deploy.js
@@ -56,10 +56,8 @@ async function main(argv = process.argv) {
56
wranglerConfig.env[feature] = {
57
name: `${wranglerConfig.name}-${feature}`,
58
routes: [
59
- {
60
- pattern: `${feature}.${wranglerConfig.routes[0].pattern}`,
61
- custom_domain: true,
62
- },
+ `${feature}.${wranglerConfig.routes[0].pattern}`,
+ `${feature}.${wranglerConfig.routes[1].pattern}`,
63
],
64
};
65
fs.writeFileSync('./wrangler.toml', TOML.stringify(wranglerConfig), {
0 commit comments