mirror of
https://github.com/penpot/penpot.git
synced 2025-05-29 05:06:11 +02:00
🐛 Fix unexpected 404 error on access shared link.
This commit is contained in:
parent
9b875aba21
commit
d0a8647186
1 changed files with 2 additions and 1 deletions
|
@ -137,7 +137,8 @@
|
||||||
(d/index-by :id)
|
(d/index-by :id)
|
||||||
(assoc state :comment-threads)))
|
(assoc state :comment-threads)))
|
||||||
(on-error [{:keys [type] :as err}]
|
(on-error [{:keys [type] :as err}]
|
||||||
(if (= :authentication type)
|
(if (or (= :authentication type)
|
||||||
|
(= :not-found type))
|
||||||
(rx/empty)
|
(rx/empty)
|
||||||
(rx/throw err)))]
|
(rx/throw err)))]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue