i dont know if this even is allowed / recommended but I have the following Idea in mind and wanted t

i dont know if this even is allowed / recommended but I have the following Idea in mind and wanted to know if pages & workers (in combination) work in that use-case.

Astro SSR Page that only holds the frontend / builds the ui --> hosted on dashboard.mydomain.com
Worker who does all the "business logic" --> hosted on dashboard.mydomain.com/api (as worker route)

Is the frontend able to request data from the backend if it is hosted in that way or is this not allowed ?
Was this page helpful?