enable
Enable or disable the sandbox route.
Usage
enable
is a boolean prop to enable or disable the sandbox route. If you set it to false
, it will call notFound()
from next/navigation
internally. A common use case is to check if the current environment is production or not.