#4111

complex workers recipe: admin only page

Openreynaldichernandoopened 23d ago

someone might want to have an admin only page for managing their app TBD on the details, but i know that this requires workers and user id whitelist

as for the admin page itself, its either

  • worker renders html
    • pro: path is hidden
    • con: rendering html using worker
  • client side html with worker validation
    • pro: simpler
    • con: path can be discovered

Activity

1
Salazareo23d ago

workers can't render html nicely iirc - I think recipe should focus on authed endpoints instead