Open filmaj opened 2 months ago
This was filed on the deno-slack-sdk here: https://github.com/slackapi/deno-slack-sdk/issues/245 And there's even an open PR for it here, but couldn't get the contributor to get that PR over the finish line: https://github.com/slackapi/deno-slack-sdk/pull/246
Very annoying sharp edge: if you happen to include the protocol in
outgoingDomain
entries, you will get a cryptic error message when you go to deploy or run your app:In this case, I had
outgoingDomains: ['https://google.com']
in my manifest. Droppinghttps://
fixes the issue.My suggested solution is for the get-manifest hook to parse these entries using the
URL
module, and extract only the hostname, dropping protocol. Feels like it belongs squarely in thecleanManifest
function of theget-manifest
hook.