Skip to content

The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.

fix(discord): use canonical discord://-/invite/<code> deeplink format

PurpleDoubleD8eb552f89b8c
diff --git a/docs/discord/index.html b/docs/discord/index.html
index b1a0354b..de7a4cb7 100644
--- a/docs/discord/index.html
+++ b/docs/discord/index.html
@@ -90,8 +90,11 @@
directly, bypassing the browser entirely. Works regardless of
what browser-side privacy / VPN / strict-mode is enabled. If
the user does not have the Discord app installed, the protocol
- handler does nothing and the secondary CTA remains as fallback. -->
- <a class="cta-primary" href="discord://invite/c9kquPfU4x">Open in Discord App</a>
+ handler does nothing and the secondary CTA remains as fallback.
+ Format: `discord://-/invite/<code>` — the `-` is Discord's
+ internal "current user" path prefix; the older `discord://invite/<code>`
+ pattern opens the app but does not actually load the invite. -->
+ <a class="cta-primary" href="discord://-/invite/c9kquPfU4x">Open in Discord App</a>
<!-- Secondary: regular https invite. Works in most browsers.
Some browsers (Opera with strict privacy defaults, certain
@@ -130,7 +133,7 @@
// protocol handler — avoids "site blocked from opening app"
// prompts in some browsers when the redirect fires too eagerly.
setTimeout(function () {
- window.location.href = 'discord://invite/c9kquPfU4x';
+ window.location.href = 'discord://-/invite/c9kquPfU4x';
}, 250);
} catch (e) {
// No-op: if location.href fails for any reason, the visible