Rewriting by customers
# workers-help
a
Hi there, We want to allow our customers to create rewrite code using our UI and that should be executed before the response is returned. Is there a saver way to execute that user provided code then using eval? They should only be able to rewrite the response body
h
You can't use
eval()
on Workers anyway, so you would need to write some kind of markup that your Worker can parse.
a
aaah... didnt know that...
workers for platforms would be the best choice right?
s
Yes