wip: cloud
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
/// <reference path="./.sst/platform/config.d.ts" />
|
||||
|
||||
export default $config({
|
||||
app(input) {
|
||||
return {
|
||||
@@ -11,16 +10,17 @@ export default $config({
|
||||
stripe: {
|
||||
apiKey: process.env.STRIPE_SECRET_KEY,
|
||||
},
|
||||
planetscale: "0.4.1",
|
||||
},
|
||||
}
|
||||
};
|
||||
},
|
||||
async run() {
|
||||
const { api } = await import("./infra/app.js")
|
||||
const { auth, gateway } = await import("./infra/cloud.js")
|
||||
const { api } = await import("./infra/app.js");
|
||||
const { auth, gateway } = await import("./infra/cloud.js");
|
||||
return {
|
||||
api: api.url,
|
||||
gateway: gateway.url,
|
||||
auth: auth.url,
|
||||
}
|
||||
};
|
||||
},
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user