Return SVG from board endpoint

This commit is contained in:
Max Wofford 2024-03-26 13:30:04 -04:00
parent 0cd0f40764
commit 8a54a3c2a8

View file

@ -288,6 +288,13 @@ const nextConfig = {
},
{ key: 'Access-Control-Allow-Headers', value: 'Content-Type' }
]
},
{
source: '/api/board/svg/(.+)',
headers: [{
key: 'content-type',
value: 'image/svg+xml'
}]
}
]
}