You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .stacks/core/cloud/src/cloud.ts
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -286,15 +286,16 @@ export class StacksCloud extends Stack {
286
286
287
287
// for each redirect, create a bucket & redirect it to the APP_URL
288
288
config.dns.redirects?.forEach((redirect)=>{
289
+
constslug=redirect.split('.').map((part,index)=>index===0 ? part : part.charAt(0).toUpperCase()+part.slice(1)).join('')// creates a CamelCase slug from the redirect
0 commit comments