Skip to content
Snippets Groups Projects
Select Git revision
  • 16f11a726ae349829bd28588bdf094a79650d4fc
  • main default protected
  • dev protected
  • hotfixes-oct-2022
  • refactor/avatar-cell
  • 1.1.5
  • 1.1.4
  • 1.1.3
  • 1.1
  • 1.0.8
  • 1.0.7
  • 1.0.6
12 results

Package.swift

Blame
  • netlify.toml 892 B
    [build]
      command = "bun run build"
      publish = "dist"
    
    [dev]
      command = "bun run dev"
      port = 3001
      targetPort = 3000
      publish = "dist"
      framework = "vite"
      autoLaunch = true
    
    # Handle React Router
    [[redirects]]
      from = "/*"
      to = "/index.html"
      status = 200
    
    # Security headers
    [[headers]]
      for = "/*"
      [headers.values]
        X-Frame-Options = "DENY"
        X-XSS-Protection = "1; mode=block"
        X-Content-Type-Options = "nosniff"
        Referrer-Policy = "strict-origin-when-cross-origin"
        Content-Security-Policy = "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' blob:; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob: https:; connect-src 'self' https:; worker-src 'self' blob:; child-src 'self' blob:;"
    
    # Cache control for static assets
    [[headers]]
      for = "/assets/*"
      [headers.values]
        Cache-Control = "public, max-age=31536000, immutable"