MCPcopy Create free account
hub / github.com/ethanniser/NextFaster / rewrites

Function rewrites

next.config.mjs:23–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21 ],
22 },
23 async rewrites() {
24 return [
25 {
26 source: "/insights/vitals.js",
27 destination:
28 "https://cdn.vercel-insights.com/v1/speed-insights/script.js",
29 },
30 {
31 source: "/insights/events.js",
32 destination: "https://cdn.vercel-insights.com/v1/script.js",
33 },
34 {
35 source: "/hfi/events/:slug*",
36 destination:
37 "https://vitals.vercel-insights.com/v1/:slug*?dsn=KD0ni5HQVdxsHAF2tqBECObqH",
38 },
39 {
40 source: "/hfi/vitals",
41 destination:
42 "https://vitals.vercel-insights.com/v2/vitals?dsn=fsGnK5U2NRPzYx0Gch0g5w5PxT1",
43 },
44 ];
45 },
46};
47
48export default nextConfig;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected