slackapi / deno-slack-sdk

SDK for building Run on Slack apps using Deno

Home Page:https://api.slack.com/automation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

filmaj opened this issue · comments

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?