MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / rewrites

Function rewrites

apps/web/next.config.js:10–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8 */
9const nextConfig = {
10 async rewrites() {
11 return [
12 {
13 source: '/sitemap/:path*',
14 destination: `${staticCdn}/sitemap/:path*`,
15 },
16 {
17 source: '/d/:path*',
18 destination: `/s/:path*`,
19 },
20 {
21 source: '/ph/:path*',
22 destination: 'https://app.posthog.com/:path*',
23 },
24 {
25 source: '/pp/js/script.js',
26 destination: 'https://plausible.io/js/script.js',
27 },
28 {
29 source: '/pp/api/event',
30 destination: 'https://plausible.io/api/event',
31 },
32 ];
33 },
34 images: {
35 unoptimized: true,
36 },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected