Return HTML from anvil endpoint

With the new anvil.server.route decorator, it seems if you wanted to you could have server rendering:

This could work particularly well if you just wanted to have a landing page discoverable by SEO (I think),


Announcement: Serve anything, anywhere on your domain, with @anvil.server.route()

Yeah I saw that, I was just a few minutes before that!

Yeah, I wanted to make it easy for the curious to find more detail on what you were describing.

1 Like

I’m always pleased when the Anvil team is 3 steps ahead of me ngl


I did think, “oh, you’re gonna love this” when you posted that :wink:

And you get an extra like for using for the demo!

1 Like