This makes the NEXT_APP_URL env variable optional so you can deploy without errors if slack integration is turned off, but leaves the URL Type safety in place.
Another option would be to use the slackParser function to validate, but since it only validates the string you would lose URL Type safety which ensures the env var is a url with a protocol and hostname.
This makes the NEXT_APP_URL env variable optional so you can deploy without errors if slack integration is turned off, but leaves the URL Type safety in place.
Another option would be to use the slackParser function to validate, but since it only validates the string you would lose URL Type safety which ensures the env var is a url with a protocol and hostname.
Resolves #57