MCPcopy Create free account
hub / github.com/vercel/vercel / getFrameworkEntrypointDocsUrl

Function getFrameworkEntrypointDocsUrl

packages/python/src/entrypoint.ts:103–114  ·  view source on GitHub ↗
(framework: string)

Source from the content-addressed store, hash-verified

101}
102
103function getFrameworkEntrypointDocsUrl(framework: string): string {
104 switch (framework) {
105 case 'fastapi':
106 return 'https://vercel.com/docs/frameworks/backend/fastapi#exporting-the-fastapi-application';
107 case 'flask':
108 return 'https://vercel.com/docs/frameworks/backend/flask#exporting-the-flask-application';
109 case 'django':
110 return 'https://vercel.com/docs/frameworks/full-stack/django#configure-the-django-entrypoint';
111 default:
112 return PYTHON_ENTRYPOINT_DOCS_URL;
113 }
114}
115
116function getMissingExportMessage(
117 framework: string,

Callers 1

makeDiagnosticErrorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected