Is it good to have two koa programs on the same server, one for interface and one for server rendering?

is it necessary for RT: to do this?

if you don"t think this is necessary, how can koa-router standardize the interface path and html path?

Mar.05,2021

Yes, it's fine. The duties are separated, and the interface only cares about the interface. Whether it's server rendering or not, the interface should always be requested


, so there's nothing wrong with it. The architecture is also based on requirements.

Menu