From 5f766110e61f228e537610b69ce655b55c619cf8 Mon Sep 17 00:00:00 2001 From: Arno Kaimbacher Date: Fri, 12 May 2023 09:00:53 +0200 Subject: [PATCH] - add favicon.ico for api and oai requestss --- assets/favicon.ico | Bin 0 -> 1150 bytes assets/oai2_style.xslt | 2 +- src/app.ts | 3 ++- 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 assets/favicon.ico diff --git a/assets/favicon.ico b/assets/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..3a1a7d4e5e43922249dc8737157551717cf693a1 GIT binary patch literal 1150 zcmb7EJ!@h?6nzW(0|LTU3JV%s!9ujK6GTZPS}2H(Xd|YuvsN*UVCiqL5d;fuY;8C-= zfA-Z$QPg+017D2e@rdbkipgXmVm6y$yPqT0>>OAjy#OvaER4v^$EY(Y|!iVa5x;0N~Lgre~)If ziTQl~7oM8P!8|xlr_(#{Zns0JRD#iHL@XAA%jH6~S_S!ukvYhjeo(X2M-9|&wOSDf z1Yk0mkjZ4Q-|sOP3_jtBAuqj^eDV&D$AgE52RNNh1cO20&8-hyUt_83_4QSFnNFu+ zv)SPH`(d}+(dl&l=>_j5w%_lgQmLR`uOpky!eX%?91aT&wOUPZ^UQS~#K{_QX5BOz z4GabY^m;v5OS9RGd_Ir2w>K;n3lUPU>??Z1nwHCDJUu-jm&=J93WWk34hKS^5L&Gk z8jS|p?Y7WOujrqwAM>Jq_5l56E%`1Ii9oB>3LQF~4nCjn-3!^zvcBYCE)4b)b1D{# zh(@DGBoc_n<47ix=yto}4%vjVe`WooKJu|A$S;HI+x{gFIoOlL6339wGAHu0-)?_D ZG7rwOC+RKg!;n5pz1Qb&{}29m{Ts3gZWRCk literal 0 HcmV?d00001 diff --git a/assets/oai2_style.xslt b/assets/oai2_style.xslt index cb69953..5b0153c 100755 --- a/assets/oai2_style.xslt +++ b/assets/oai2_style.xslt @@ -76,7 +76,7 @@ --> - + diff --git a/src/app.ts b/src/app.ts index 15d7100..7ed4e33 100644 --- a/src/app.ts +++ b/src/app.ts @@ -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();