Rewriting by customers

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
2 Replies
Hello, I’m Allie!
You can't use eval() on Workers anyway, so you would need to write some kind of markup that your Worker can parse.
Advany
AdvanyOP2y ago
aaah... didnt know that... workers for platforms would be the best choice right?
Want results from more Discord servers?
Add your server