HomeProductsAboutContact

In the header area, redirects are made with the next/link feature. Pay attention to the path of the address you will forward to.

  • First, we import our next/image property for the image.

  • But the thing we need to pay attention to is that we have to specify some protocols in our config.js section.

  • Finally, don't forget to give width-height to our image.

Trial

SSR example on different pages and look at console on home page.

Push
Back
Forward
Refresh
{
  "success": false,
  "data": null,
  "errors": [
    {
      "message": "This API version has been deprecated. Please visit https://restcountries.com/docs/countries/legacy-api-deprecation to migrate to our new version (v5)."
    }
  ]
}
{
  "success": false,
  "data": null,
  "errors": [
    {
      "message": "This API version has been deprecated. Please visit https://restcountries.com/docs/countries/legacy-api-deprecation to migrate to our new version (v5)."
    }
  ]
}