Skip to content
Browse files

[feature] opages: Warning the preview UC update could be execute on c…

…lient and could be block opalang.org
  • Loading branch information...
1 parent d75a5f6 commit 38b2ee3e76647d7dd230fa2948eedf0a765574e8 @BourgerieQuentin BourgerieQuentin committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 OPAges/src/page.opa
View
2 OPAges/src/page.opa
@@ -160,7 +160,7 @@ Page = {{
* {2 Privates preview utils}
*/
- @private preview_context = UserContext.make(StringMap.empty:stringmap(Page.stored_content))
+ @server @private preview_context = UserContext.make(StringMap.empty:stringmap(Page.stored_content))
@server @private set_preview(key,page) =
UserContext.change(StringMap.add(key,page,_), preview_context)

0 comments on commit 38b2ee3

Please sign in to comment.
Something went wrong with that request. Please try again.