Site 1 : https://repro1.netlify.app
Site 1 repo: GitHub - UlysC/ntl_repro1
Site 2 : https://repro2.netlify.app
Site 2 repo: GitHub - UlysC/ntl_repro2
I’m trying to redirect
/two/ prefixed urls from site 1 to site2’s functions like so :
from = "/two/*"
to = "https://repro2.netlify.app/.netlify/functions/:splat"
status = 200
force = true
https://repro1.netlify.app/two/myfunc returns a
200 as expected
Is this not supported or am I doing something wrong ?
info: It’s worth noting that the redirect works when using
Also, redirecting to any other file contained in Site2 that is NOT a function works.
hi there, before we dig in, did you see this brand new guide on debugging redirects?
I strongly suggest you give it a thorough read through and see if this fixes your problem:
if not, please post again, and we’ll try and troubleshoot.