microsoft / TypeScript-Node-Starter

A reference example for TypeScript and Node with a detailed README describing how to use the two together.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot GET /favicon.ico

mozgbrasil opened this issue · comments

Good morning my friends

I implemented this project in

https://acid-express-labs-ts.herokuapp.com/

But we see that the file "/favicon.ico" is not loaded

I even put a file in "src/public/favicon.ico"

But when building the project we see in "dist/public" the absence of this file

Thank you in advance if you can help

I add a file "favicon.ico" in a folder "src/public/"

I edited the "copyStaticAssets.ts" file and added

shell.cp("-R", "src/public/favicon.ico", "dist/public/favicon.ico");

and it worked

just clarification. This project has no its own favicon.ico in the assets. One needs to adds it to the assets thx!