Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

urlencode for paddle

Blue Mouse57076cfde5a8
diff --git a/src/main.ts b/src/main.ts
index 9a4090440..896393f62 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -1,5 +1,6 @@
import { NestFactory } from '@nestjs/core'
import { ValidationPipe } from '@nestjs/common'
+import * as express from 'express'
import * as cookieParser from 'cookie-parser'
import * as bodyParser from 'body-parser'
@@ -31,6 +32,7 @@ async function bootstrap() {
})
app.use('/webhook', bodyParser.raw({ type: 'application/json' }))
+ app.use('/webhook/paddle', express.urlencoded())
await app.listen(5005)
}
bootstrap()