mirror of
https://github.com/System-End/site.git
synced 2026-04-19 22:05:11 +00:00
Return SVG from board endpoint
This commit is contained in:
parent
0cd0f40764
commit
8a54a3c2a8
1 changed files with 7 additions and 0 deletions
|
|
@ -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'
|
||||
}]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue