Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $app->get('/', function (\Psr\Http\Message\RequestInterface $req, \Psr\Http\Message\ResponseInterface $res, $args) {
- $url = 'https://example.org';
- return $res->withRedirect($url);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement