Setup fly.io deployments

This commit is contained in:
Dominic Ferrando
2026-07-01 14:47:52 -04:00
parent 2454d68e24
commit ab6eb56814
16 changed files with 248 additions and 456 deletions
-8
View File
@@ -59,20 +59,12 @@ export const app = new Elysia()
.use(
cors({
origin: [
// WEBSITE
// -----------
// production
/^https?:\/\/([a-z0-9-]+\.)?bladeandbrawn\.com$/i,
// testing
/^https?:\/\/([a-z0-9-]+\.)?bladeandbrawn\.webflow\.io$/i,
// PORTAL
// -----------
// production
/^https?:\/\/blade-and-brawn\.fly\.dev$/i,
// development
"http://localhost:5173",
"http://dev.portal.bladeandbrawn.com/"
],
}),
).use(jwt({ name: "jwt", secret: env.AUTH_SECRET }))