You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
2.8 KiB
JSON

{"version":3,"pages404":true,"caseSensitive":false,"basePath":"","redirects":[{"source":"/:path+/","destination":"/:path+","internal":true,"statusCode":308,"regex":"^(?:/((?:[^/]+?)(?:/(?:[^/]+?))*))/$"}],"headers":[{"source":"/api/:path*","headers":[{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Access-Control-Max-Age","value":"86400"}],"regex":"^/api(?:/((?:[^/]+?)(?:/(?:[^/]+?))*))?(?:/)?$"}],"dynamicRoutes":[{"page":"/api/upstash/[action]/[...key]","regex":"^/api/upstash/([^/]+?)/(.+?)(?:/)?$","routeKeys":{"nxtPaction":"nxtPaction","nxtPkey":"nxtPkey"},"namedRegex":"^/api/upstash/(?<nxtPaction>[^/]+?)/(?<nxtPkey>.+?)(?:/)?$"},{"page":"/api/webdav/[...path]","regex":"^/api/webdav/(.+?)(?:/)?$","routeKeys":{"nxtPpath":"nxtPpath"},"namedRegex":"^/api/webdav/(?<nxtPpath>.+?)(?:/)?$"},{"page":"/api/[provider]/[...path]","regex":"^/api/([^/]+?)/(.+?)(?:/)?$","routeKeys":{"nxtPprovider":"nxtPprovider","nxtPpath":"nxtPpath"},"namedRegex":"^/api/(?<nxtPprovider>[^/]+?)/(?<nxtPpath>.+?)(?:/)?$"}],"staticRoutes":[{"page":"/","regex":"^/(?:/)?$","routeKeys":{},"namedRegex":"^/(?:/)?$"},{"page":"/_not-found","regex":"^/_not\\-found(?:/)?$","routeKeys":{},"namedRegex":"^/_not\\-found(?:/)?$"}],"dataRoutes":[],"rsc":{"header":"RSC","varyHeader":"RSC, Next-Router-State-Tree, Next-Router-Prefetch, Next-Url","prefetchHeader":"Next-Router-Prefetch","didPostponeHeader":"x-nextjs-postponed","contentTypeHeader":"text/x-component","suffix":".rsc","prefetchSuffix":".prefetch.rsc"},"rewrites":{"beforeFiles":[{"source":"/api/proxy/azure/:resource_name/deployments/:deploy_name/:path*","destination":"https://:resource_name.openai.azure.com/openai/deployments/:deploy_name/:path*","regex":"^/api/proxy/azure(?:/([^/]+?))/deployments(?:/([^/]+?))(?:/((?:[^/]+?)(?:/(?:[^/]+?))*))?(?:/)?$"},{"source":"/api/proxy/google/:path*","destination":"https://generativelanguage.googleapis.com/:path*","regex":"^/api/proxy/google(?:/((?:[^/]+?)(?:/(?:[^/]+?))*))?(?:/)?$"},{"source":"/api/proxy/openai/:path*","destination":"https://api.openai.com/:path*","regex":"^/api/proxy/openai(?:/((?:[^/]+?)(?:/(?:[^/]+?))*))?(?:/)?$"},{"source":"/api/proxy/anthropic/:path*","destination":"https://api.anthropic.com/:path*","regex":"^/api/proxy/anthropic(?:/((?:[^/]+?)(?:/(?:[^/]+?))*))?(?:/)?$"},{"source":"/google-fonts/:path*","destination":"https://fonts.googleapis.com/:path*","regex":"^/google-fonts(?:/((?:[^/]+?)(?:/(?:[^/]+?))*))?(?:/)?$"},{"source":"/sharegpt","destination":"https://sharegpt.com/api/conversations","regex":"^/sharegpt(?:/)?$"},{"source":"/api/proxy/alibaba/:path*","destination":"https://dashscope.aliyuncs.com/api/:path*","regex":"^/api/proxy/alibaba(?:/((?:[^/]+?)(?:/(?:[^/]+?))*))?(?:/)?$"}],"afterFiles":[],"fallback":[]}}