Microservice Shorturl - retrieving error

hi
here is the link: https://boilerplate-project-urlshortener.zia73.repl.co

Below test case is not getting through:

  • When you visit /api/shorturl/<short_url> , you will be redirected to the original URL.

Do I need to connect it to the database or it should be ok to push into an array and retrieve?

Thanks a lot. I will try with Mongodb.