#Serve Static Content

2 messages · Page 1 of 1 (latest)

inland coyote
#

Hello, I've a project which has multiple front-end and I want to serve it using nestJS, but issue is that each front end will be served on its subdomain, like front-end1.domain.example, front-end2.domain.example, etc... Is it possible to do so ? I tried with serve-static but I guess there is no option for subdomain driven serving. I tried using useStaticAssets and setBaseViewsDir but serves only for single entry. I am missing something ? Thanks you.

hexed lion
#

No. You can't do that.