Use subdomain for rasterizer (OOPIF)

This commit is contained in:
Aitor 2023-11-21 16:47:48 +01:00 committed by Andrey Antukh
parent 7404933e99
commit 16c8c4bd2a
3 changed files with 29 additions and 14 deletions

View file

@ -221,6 +221,10 @@
scope (unchecked-get evdata "scope")]
(when (and (some? payload)
(= scope "penpot/rasterizer"))
(log/dbg :hint "received message"
:id id
:payload payload
:scope scope)
(->> (render payload)
(rx/subs (partial send-success! id)
(partial send-failure! id))))))))