slackapi / deno-slack-sdk

SDK for building Run on Slack apps using Deno
https://api.slack.com/automation
MIT License
155 stars 27 forks source link

[FEATURE] Strip protocol from domains in `outgoingDomains` of app manifest if present #245

Open filmaj opened 9 months ago

filmaj commented 9 months ago

If you include e.g. https://slack.com in your app manifest's outgoingDomains, you will get an obtuse error like this when trying to run or deploy your app:

Screenshot 2023-11-15 at 3 54 57 PM

Instead, can the SDK detect/remove/strip the protocol and feed the manifest API only the domain that it needs? Could probably use the URL parsing native to deno to do that?