Skip to content

A platform for community discussion. Free, open, simple.

FIX: styleguide is only a parent url and is accessed with /styleguide (#10930)

Joffrey JAFFEUXda00c80e907d
diff --git a/app/assets/javascripts/discourse/app/lib/url.js b/app/assets/javascripts/discourse/app/lib/url.js
index 335f33cd1c6..7f90a935703 100644
--- a/app/assets/javascripts/discourse/app/lib/url.js
+++ b/app/assets/javascripts/discourse/app/lib/url.js
@@ -34,7 +34,7 @@ const SERVER_SIDE_ONLY = [
/^\/admin\/logs\/watched_words\/action\/[^\/]+\/download$/,
/^\/pub\//,
/^\/invites\//,
- /^\/styleguide\//,
+ /^\/styleguide/,
];
// The amount of height (in pixles) that we factor in when jumpEnd is called so