Hi there !
Is it possible to setup a mock to redirect root path to another url ?
I mean a have a function, accessible at
/function1 path (resulting in
https://my.domain.com/function1). And I want that
/ display some static documentation hosted elsewhere - so I need a 302 redirect to that URL (
https://my.domain.com/ -> 302 ->
https://my.docs.com/my-function-docs). I don’t want this redirect to be handled by another lambda - no need - this is a static redirect.
P.S. just in case
my.domain.com is a custom domain in Route 53, so with help of
https://my.domain.com/function1 works perfectly.
P.P.S I’ve found Set up response template for redirect but seems to be of different subject