FIX: published pages couldn't be routed from inside discourse (#9569)
This will allow to post a link to published page in a post. Before this, users clicking this link would have seen a 404. ATM /pub is server sider only.
This commit is contained in:
parent
c1cc2f2a05
commit
4b57eb7049
|
@ -28,7 +28,8 @@ const SERVER_SIDE_ONLY = [
|
|||
/\.json$/,
|
||||
/^\/admin\/upgrade$/,
|
||||
/^\/logs($|\/)/,
|
||||
/^\/admin\/logs\/watched_words\/action\/[^\/]+\/download$/
|
||||
/^\/admin\/logs\/watched_words\/action\/[^\/]+\/download$/,
|
||||
/^\/pub\//
|
||||
];
|
||||
|
||||
export function rewritePath(path) {
|
||||
|
|
Loading…
Reference in New Issue