Last active
July 8, 2024 14:45
-
-
Save TravisCarden/d56225f8f2e18bf6cfd553b8a095d097 to your computer and use it in GitHub Desktop.
Open ClickUp links from anywhere in the desktop app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
rewrite: [ | |
{ | |
// Change the protocol to the one the desktop app recognizes. | |
match: finicky.matchHostnames(["app.clickup.com"]), | |
url: { protocol: "clickup" } | |
} | |
], | |
[ | |
// Then route it to the ClickUp app. | |
{ | |
match: finicky.matchHostnames(["app.clickup.com"]), | |
browser: "com.clickup.desktop-app" | |
} | |
] | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment