fix: prevent trailing slash redirects for API routes
Adds skipTrailingSlashRedirect to prevent HTTP 301 redirects
on API endpoints like /api/stripe/webhook. This ensures
webhooks and external integrations work reliably.
🤖 Generated with Claude Code
This commit is contained in:
parent
0b5ea28fb6
commit
b628930d55
|
|
@ -1,6 +1,7 @@
|
||||||
/** @type {import('next').NextConfig} */
|
/** @type {import('next').NextConfig} */
|
||||||
const nextConfig = {
|
const nextConfig = {
|
||||||
output: 'standalone',
|
output: 'standalone',
|
||||||
|
skipTrailingSlashRedirect: true,
|
||||||
images: {
|
images: {
|
||||||
unoptimized: false,
|
unoptimized: false,
|
||||||
domains: ['www.qrmaster.net', 'qrmaster.net', 'images.qrmaster.net'],
|
domains: ['www.qrmaster.net', 'qrmaster.net', 'images.qrmaster.net'],
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue