diff --git a/api/auth/login.ts b/api/auth/login.ts new file mode 100644 index 0000000..04fc04d --- /dev/null +++ b/api/auth/login.ts @@ -0,0 +1,3 @@ +import { createApp } from '../../server/src/app.js'; + +export default createApp(); diff --git a/api/auth/logout.ts b/api/auth/logout.ts new file mode 100644 index 0000000..04fc04d --- /dev/null +++ b/api/auth/logout.ts @@ -0,0 +1,3 @@ +import { createApp } from '../../server/src/app.js'; + +export default createApp(); diff --git a/api/auth/me.ts b/api/auth/me.ts new file mode 100644 index 0000000..04fc04d --- /dev/null +++ b/api/auth/me.ts @@ -0,0 +1,3 @@ +import { createApp } from '../../server/src/app.js'; + +export default createApp(); diff --git a/api/auth/refresh.ts b/api/auth/refresh.ts new file mode 100644 index 0000000..04fc04d --- /dev/null +++ b/api/auth/refresh.ts @@ -0,0 +1,3 @@ +import { createApp } from '../../server/src/app.js'; + +export default createApp(); diff --git a/api/auth/register.ts b/api/auth/register.ts new file mode 100644 index 0000000..04fc04d --- /dev/null +++ b/api/auth/register.ts @@ -0,0 +1,3 @@ +import { createApp } from '../../server/src/app.js'; + +export default createApp(); diff --git a/api/auth/yandex.ts b/api/auth/yandex.ts new file mode 100644 index 0000000..04fc04d --- /dev/null +++ b/api/auth/yandex.ts @@ -0,0 +1,3 @@ +import { createApp } from '../../server/src/app.js'; + +export default createApp(); diff --git a/api/auth/yandex/callback.ts b/api/auth/yandex/callback.ts new file mode 100644 index 0000000..7146216 --- /dev/null +++ b/api/auth/yandex/callback.ts @@ -0,0 +1,3 @@ +import { createApp } from '../../../server/src/app.js'; + +export default createApp(); diff --git a/api/[...route].ts b/api/health.ts similarity index 100% rename from api/[...route].ts rename to api/health.ts diff --git a/vercel.json b/vercel.json index bc29ec0..36c5c8d 100644 --- a/vercel.json +++ b/vercel.json @@ -11,7 +11,7 @@ } ], "functions": { - "api/[...route].ts": { + "api/**/*.ts": { "maxDuration": 30 } }