#CSS not found

2 messages · Page 1 of 1 (latest)

keen patio
#

Hello, does not find the CSS file. I think I need to add a path to the controller, but I do not know what to return. Is it so?

@Get('public-css-styles.css')
  getCSS() {
    // What's here?
  }

Another question is, does nest support CSS files at all? Or just <style>...</style>?

P. S. I'm pretty sure it's all in the documentation, but I haven't looked it up and down. I will also say that I use MVC (not Fastify) and main.ts changed according to the documentation (https://docs.nestjs.com/techniques/mvc)

remote thistle