- add favicon.ico for api and oai requestss
This commit is contained in:
parent
6a00a8fd39
commit
5f766110e6
BIN
assets/favicon.ico
Normal file
BIN
assets/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
|
@ -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>
|
||||
|
|
|
@ -16,6 +16,7 @@ export class App extends Server {
|
|||
super();
|
||||
// this.app = express();
|
||||
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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user