My project seems to work but it doesn't pass the test

Here is my project
and here is my source code GitHub - Me2Me37/boilerplate-project-urlshortener: boilerplate-project-urlshortener

so it doesn’t pass 2 tests

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

  2. If you pass an invalid URL that doesn’t follow the valid format, the JSON response will contain { error: 'invalid url' }

thats it nothing else to explain i guess

Did you fix it? Your code is passing for me.