Joshua Oransky
12/31/2021, 2:28 PMpath was not defined initially, it cannot be defined later... Instead, you'd need to remove the customDomain option from the construct, deploy it." I've tried this and it doesn't seem to add it. Is there something specific that needs to happen to be able to add a path to a custom domain when it wasn't defined previously?Frank
customDomain?Joshua Oransky
01/02/2022, 2:38 PMthis.api = new sst.Api(this, "Api", {
customDomain: {
domainName: `${URL_STAGE}<http://api.florango.io|api.florango.io>`,
path: '2021-12-30',
},
hostedZone: '<http://florango.io|florango.io>',
//...thdxr
01/03/2022, 12:20 AMJoshua Oransky
01/03/2022, 12:23 AMFrank
customDomain block in ur code
this.api = new sst.Api(this, "Api", {
// customDomain: {
// domainName: `${URL_STAGE}<http://api.florango.io|api.florango.io>`,
// path: '2021-12-30',
// },
2. Deploy
3. After the app deploys successfully, uncomment the customDomain and deploy againFrank
Frank
hostedZone should be configured as a part of customDomainJoshua Oransky
01/03/2022, 12:34 AMFrank
Joshua Oransky
01/04/2022, 7:35 PMJoshua Oransky
01/04/2022, 10:15 PM