vercel.json 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. {
  2. "public": true,
  3. "headers": [
  4. {
  5. "source": "/(.*)",
  6. "headers": [
  7. {
  8. "key": "Access-Control-Allow-Origin",
  9. "value": "https://excalidraw.com"
  10. },
  11. {
  12. "key": "X-Content-Type-Options",
  13. "value": "nosniff"
  14. },
  15. {
  16. "key": "Feature-Policy",
  17. "value": "*"
  18. },
  19. {
  20. "key": "Referrer-Policy",
  21. "value": "origin"
  22. }
  23. ]
  24. },
  25. {
  26. "source": "/:file*.woff2",
  27. "headers": [
  28. {
  29. "key": "Cache-Control",
  30. "value": "public, max-age=31536000"
  31. },
  32. {
  33. "key": "Access-Control-Allow-Origin",
  34. "value": "https://excalidraw.com"
  35. }
  36. ]
  37. },
  38. {
  39. "source": "/(Virgil|Cascadia|Assistant-Regular).woff2",
  40. "headers": [
  41. {
  42. "key": "Cache-Control",
  43. "value": "public, max-age=31536000"
  44. },
  45. {
  46. "key": "Access-Control-Allow-Origin",
  47. "value": "*"
  48. }
  49. ]
  50. }
  51. ],
  52. "redirects": [
  53. {
  54. "source": "/webex/:match*",
  55. "destination": "https://for-webex.excalidraw.com"
  56. },
  57. {
  58. "source": "/:path*",
  59. "has": [
  60. {
  61. "type": "host",
  62. "value": "vscode.excalidraw.com"
  63. }
  64. ],
  65. "destination": "https://marketplace.visualstudio.com/items?itemName=pomdtr.excalidraw-editor"
  66. }
  67. ],
  68. "outputDirectory": "excalidraw-app/build",
  69. "installCommand": "yarn install"
  70. }