Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

Updated build config for Vercel.

Mike Cao77131158f755
diff --git a/next.config.ts b/next.config.ts
index f2c07aff9..e52df6ab0 100644
--- a/next.config.ts
+++ b/next.config.ts
@@ -199,6 +199,18 @@ export default {
typescript: {
ignoreBuildErrors: true,
},
+ functions: {
+ 'app/api/**/*.js': {
+ maxDuration: 30,
+ },
+ },
+ outputFileTracing: {
+ include: [
+ 'src/generated/prisma/**/*',
+ 'node_modules/@prisma/client/**/*',
+ 'node_modules/.prisma/client/**/*',
+ ],
+ },
async headers() {
return headers;
},