Skip to content

Commit 2476e2c

Browse files
committed
Support configuring base URL for Slack API requests
Future-proofs Slack components to support proxying requests
1 parent 8b99a4e commit 2476e2c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/slack/slack.app.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,6 +527,7 @@ export default {
527527
sdk(opts = {}) {
528528
return new WebClient(this.getToken(opts), {
529529
rejectRateLimitedCalls: true,
530+
slackApiUrl: this.$auth.base_url,
530531
});
531532
},
532533
async makeRequest({

0 commit comments

Comments
 (0)