Jotley / website / vercel.json
| 1 | { |
| 2 | "redirects": [ |
| 3 | { |
| 4 | "source": "/support/:path*", |
| 5 | "destination": "https://jotley.ai/help", |
| 6 | "permanent": false |
| 7 | }, |
| 8 | { |
| 9 | "source": "/:path*", |
| 10 | "has": [ |
| 11 | { |
| 12 | "type": "host", |
| 13 | "value": "www.jotley.ai" |
| 14 | } |
| 15 | ], |
| 16 | "destination": "https://jotley.ai/:path*", |
| 17 | "permanent": true |
| 18 | }, |
| 19 | { |
| 20 | "source": "/downloads", |
| 21 | "destination": "/download", |
| 22 | "permanent": true |
| 23 | }, |
| 24 | { |
| 25 | "source": "/downloads/:file", |
| 26 | "destination": "/:file", |
| 27 | "permanent": false |
| 28 | }, |
| 29 | { |
| 30 | "source": "/:path*", |
| 31 | "has": [ |
| 32 | { |
| 33 | "type": "host", |
| 34 | "value": "beta.jotley.ai" |
| 35 | } |
| 36 | ], |
| 37 | "destination": "https://jotley.ai/:path*", |
| 38 | "permanent": true |
| 39 | }, |
| 40 | { |
| 41 | "source": "/:path(tips|donate)", |
| 42 | "destination": "/", |
| 43 | "permanent": true |
| 44 | }, |
| 45 | { |
| 46 | "source": "/waitlist", |
| 47 | "destination": "/", |
| 48 | "permanent": true |
| 49 | }, |
| 50 | { |
| 51 | "source": "/beta", |
| 52 | "destination": "/", |
| 53 | "permanent": true |
| 54 | }, |
| 55 | { |
| 56 | "source": "/media/:dir(films|clips)/:file([A-Za-z0-9._-]+\\.mp4)", |
| 57 | "destination": "https://media.jotley.ai/:dir/:file", |
| 58 | "permanent": true |
| 59 | }, |
| 60 | { |
| 61 | "source": "/:file(Jotley-[A-Za-z0-9._-]+\\.dmg)", |
| 62 | "destination": "https://media.jotley.ai/downloads/:file", |
| 63 | "permanent": true |
| 64 | }, |
| 65 | { |
| 66 | "source": "/pay-and-pricing", |
| 67 | "destination": "/", |
| 68 | "permanent": true |
| 69 | } |
| 70 | ], |
| 71 | "headers": [ |
| 72 | { |
| 73 | "source": "/(.*)", |
| 74 | "headers": [ |
| 75 | { |
| 76 | "key": "Cache-Control", |
| 77 | "value": "no-cache, no-store, must-revalidate" |
| 78 | } |
| 79 | ] |
| 80 | }, |
| 81 | { |
| 82 | "source": "/media/films/(.*)", |
| 83 | "headers": [ |
| 84 | { |
| 85 | "key": "Cache-Control", |
| 86 | "value": "public, max-age=31536000, immutable" |
| 87 | } |
| 88 | ] |
| 89 | }, |
| 90 | { |
| 91 | "source": "/media/(clips|shots)/(.*)", |
| 92 | "headers": [ |
| 93 | { |
| 94 | "key": "Cache-Control", |
| 95 | "value": "public, max-age=86400, stale-while-revalidate=604800" |
| 96 | } |
| 97 | ] |
| 98 | } |
| 99 | ] |
| 100 | } |