This is my intent (choose one)
The problem
I want to provide static assets, for example favicon.ico and robots.txt via the integrated express webserver.
AFAICS I can only import them in code, which will give me the path to the file, postfixed with a random id.
Proposed solution
Have a public folder with assets, I want to serve as-is.
This is my intent (choose one)
The problem
I want to provide static assets, for example
favicon.icoandrobots.txtvia the integrated express webserver.AFAICS I can only import them in code, which will give me the path to the file, postfixed with a random id.
Proposed solution
Have a
publicfolder with assets, I want to serve as-is.