mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-12 08:45:38 +02:00
feat: Move API to CF workers (WIP)
This commit is contained in:
10
cloud/infra/urls.ts
Normal file
10
cloud/infra/urls.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { domain } from "./stage";
|
||||
|
||||
export const urls = new sst.Linkable("Urls", {
|
||||
properties: {
|
||||
api: "https://api." + domain,
|
||||
auth: "https://auth." + domain,
|
||||
site: $dev ? "http://localhost:4321" : "https://" + domain,
|
||||
openapi: "https://api." + domain + "/doc",
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user