- add favicon.ico for api and oai requestss

This commit is contained in:
Arno Kaimbacher 2023-05-12 09:00:53 +02:00
parent 6a00a8fd39
commit 5f766110e6
3 changed files with 3 additions and 2 deletions

BIN
assets/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -76,7 +76,7 @@
<link rel="icon" type="image/png" sizes="16x16" href="/images/favicon/favicon-16x16.png"/>
<link rel="manifest" href="/images/favicon/site.webmanifest"/>
<link rel="mask-icon" href="/images/favicon/safari-pinned-tab.svg" color="#5bbad5"/> -->
<link rel="shortcut icon" href="/images/favicon/favicon.ico"/>
<link rel="shortcut icon" href="/assets/favicon.ico"/>
<!-- <style>h2{font-size:22pt;text-decoration:underline}para{color:green}</style> -->
</head>

View File

@ -15,7 +15,8 @@ export class App extends Server {
constructor() {
super();
// this.app = express();
this.app.use("/assets", express.static(path.join(__dirname, "../assets")));
this.app.use("/assets", express.static(path.join(__dirname, "../assets")));
this.app.use("/favicon.ico", express.static('assets/favicon.ico'));
this.applyMiddleWares();
// init db and add routes
this.boostrap();