This commit is contained in:
skidoodle 2024-01-12 23:08:26 +01:00
parent 775bded40f
commit 3e8dfabcc4
2 changed files with 2 additions and 8 deletions

View file

@ -74,9 +74,9 @@ export default function handler(req: NextApiRequest, res: NextApiResponse) {
case 'inf':
case 'infoism':
case 'digkult':
flZipUrl = `${proxiedUrl}${prefix}${forras}_${shortev}${honap}_${feladat}.zip`
flZipUrl = `${baseUrl}${prefix}${forras}_${shortev}${honap}_${feladat}.zip`
flPdfUrl = `${proxiedUrl}${prefix}_${shortev}${honap}_${feladat}.pdf`
utZipUrl = `${proxiedUrl}${prefix}${megoldas}_${shortev}${honap}_${utmutato}.zip`
utZipUrl = `${baseUrl}${prefix}${megoldas}_${shortev}${honap}_${utmutato}.zip`
utPdfUrl = `${proxiedUrl}${prefix}_${shortev}${honap}_${utmutato}.pdf`
break
default:

View file

@ -1,11 +1,5 @@
import type { NextApiRequest, NextApiResponse } from 'next'
export const config = {
api: {
responseLimit: false,
},
}
export default async function handler(
req: NextApiRequest,
res: NextApiResponse