Skip to content

Commit

Permalink
Refactor site
Browse files Browse the repository at this point in the history
  • Loading branch information
Ru Chern Chong committed Nov 14, 2023
1 parent 57f259d commit 8952c94
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sst.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ export default {
};
},
stacks(app) {
app.stack(function Site({ stack }) {
const site = new NextjsSite(stack, "site", {
app.stack(function site({ stack }) {
const nextjsSite = new NextjsSite(stack, "site", {
customDomain: {
domainName: "singapore-ev-trends.ruchern.xyz",
hostedZone: "ruchern.xyz",
},
});

stack.addOutputs({
SiteUrl: site.url,
SiteUrl: nextjsSite.url,
});
});
},
Expand Down

0 comments on commit 8952c94

Please sign in to comment.