Compare commits

...
Author SHA1 Message Date
Brandon Thomas 7c02fff23e development ports 2026-06-23 09:22:01 -04:00
@@ -9,6 +9,10 @@ pub fn add_artcraft_website(cors: Cors, _is_production: bool) -> Cors {
// Hypothetical domains
.allowed_origin("https://artcraft.ai")
.allowed_origin("https://www.artcraft.ai")
// Development against production
.allowed_origin("http://localhost:4200")
.allowed_origin("http://localhost:4201")
.allowed_origin("http://localhost:4202")
// Netlify project
.allowed_origin_fn(|origin, _req_head| {
netlify_branch_domain_matches(origin, "artcraft-website.netlify.app")