mirror of
https://github.com/skidoodle/erettsegi-browser.git
synced 2025-02-15 05:39:15 +01:00
HMMMM
This commit is contained in:
@@ -14,7 +14,7 @@ export default function handler(req: NextApiRequest, res: NextApiResponse) {
|
||||
const address = req.headers.host
|
||||
|
||||
const baseUrl = `https://dload-oktatas.educatio.hu/erettsegi/feladatok_${ev}${idoszak}_${szint}/`
|
||||
const proxiedUrl = `${protocol}://${address}/api/proxy?link=${encodeURIComponent(
|
||||
const proxiedUrl = `${protocol}://${address}/api/proxy?link=${encodeURI(
|
||||
baseUrl
|
||||
)}`
|
||||
|
||||
|
Reference in New Issue
Block a user