vercel.json 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. {
  2. "public": true,
  3. "headers": [
  4. {
  5. "source": "/(.*)",
  6. "headers": [
  7. {
  8. "key": "Access-Control-Allow-Origin",
  9. "value": "*"
  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. "redirects": [
  27. {
  28. "source": "/webex/:match*",
  29. "destination": "https://for-webex.excalidraw.com"
  30. },
  31. {
  32. "source": "/Virgil.woff2",
  33. "destination": "https://excalidraw.nyc3.cdn.digitaloceanspaces.com/fonts/Virgil.woff2"
  34. },
  35. {
  36. "source": "/Cascadia.woff2",
  37. "destination": "https://excalidraw.nyc3.cdn.digitaloceanspaces.com/fonts/Cascadia.woff2"
  38. },
  39. {
  40. "source": "/Assistant-Regular.woff2",
  41. "destination": "https://excalidraw.nyc3.cdn.digitaloceanspaces.com/fonts/Assistant-Regular.woff2"
  42. },
  43. {
  44. "source": "/:path*",
  45. "has": [
  46. {
  47. "type": "host",
  48. "value": "vscode.excalidraw.com"
  49. }
  50. ],
  51. "destination": "https://marketplace.visualstudio.com/items?itemName=pomdtr.excalidraw-editor"
  52. }
  53. ],
  54. "outputDirectory": "excalidraw-app/build",
  55. "installCommand": "yarn install"
  56. }