nestjs / serve-static

Serve static websites (SPA's) using Nest framework (node.js) šŸ„¦

Home Page:https://nestjs.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Provide a documentation how to use setHeaders function

JaLe29 opened this issue Ā· comments

commented

Is there an existing issue that is already proposing this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe it

In code, there is function setHeaders?: (res: any, path: string, stat: any) => any;

What is first, second and third any?

I would like to set custom headers.

Describe the solution you'd like

Describe in documentation