Skip to content

Instantly share code, notes, and snippets.

@takeo
Last active May 22, 2021 19:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save takeo/e69c8eeec9bb8148a1a7f336b285dd08 to your computer and use it in GitHub Desktop.
Save takeo/e69c8eeec9bb8148a1a7f336b285dd08 to your computer and use it in GitHub Desktop.
module.exports = {
defaultBrowser: "Choosy",
handlers: [
{
match: /zoom.us\/j\//,
browser: "us.zoom.xos"
}
],
rewrite: [
{
match: ({ url }) => url.pathname.includes('/event/callback/slack/'),
url: function(url) {
const id = url.url.pathname.split('/').pop();
return `https://zoom.us/j/${id}`;
}
}
]
}
@zg27
Copy link

zg27 commented May 22, 2021

#sew

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment