vercel.json 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. {
  2. "rewrites": [
  3. {
  4. "source": "/stats/js/script.js",
  5. "destination": "https://plausible.io/js/script.js"
  6. },
  7. {
  8. "source": "/stats/api/event",
  9. "destination": "https://plausible.io/api/event"
  10. },
  11. {
  12. "source": "/(.*)",
  13. "destination": "/error-404.html"
  14. }
  15. ],
  16. "redirects": [
  17. {
  18. "source": "/docs",
  19. "destination": "https://tabler.io/docs",
  20. "permanent": true
  21. },
  22. {
  23. "source": "/docs/:name(colors|typography?).html",
  24. "destination": "https://tabler.io/docs/base/:name",
  25. "permanent": true
  26. },
  27. {
  28. "source": "/docs/:name(alerts|autosize|avatars|badges|breadcrumb|buttons|cards|carousel|charts|countup|datagrid|divider|dropdowns|dropzone|empty|icons|inline-player|modals|placeholder|popover|progress|progressbg|range-slider|ribbons|spinners|statuses|steps|switch-icon|tables|tabs|timelines|tinymce|toasts|tooltips|tracking?).html",
  29. "destination": "https://tabler.io/docs/components/:name",
  30. "permanent": true
  31. },
  32. {
  33. "source": "/docs/:name(form-color-check|form-elements|form-fieldset|form-helpers|form-image-check|form-input-mask|form-selectboxes|form-validation?).html",
  34. "destination": "https://tabler.io/docs/forms/:name",
  35. "permanent": true
  36. },
  37. {
  38. "source": "/docs/:name(browser-support|customize|download|faq?).html",
  39. "destination": "https://tabler.io/docs/getting-started/:name",
  40. "permanent": true
  41. },
  42. {
  43. "source": "/docs/:name(page-headers?).html",
  44. "destination": "https://tabler.io/docs/layout/:name",
  45. "permanent": true
  46. },
  47. {
  48. "source": "/docs/:name(flags|payments?).html",
  49. "destination": "https://tabler.io/docs/plugins/:name",
  50. "permanent": true
  51. },
  52. {
  53. "source": "/docs/:name(borders|cursors|interactions?).html",
  54. "destination": "https://tabler.io/docs/plugins/:name",
  55. "permanent": true
  56. }
  57. ]
  58. }