Recherche partout (#68) : page de résultats unifiée + draco et 401 sur /api/search #30

Closed
bruno wants to merge 11 commits from recherche-partout-68 into main
Showing only changes of commit cf837edfbb - Show all commits
+11 -1
View File
@@ -39,6 +39,10 @@
*/
(function (global) {
"use strict";
/* globalThis : le fichier est chargé comme script classique dans les
* navigateurs, requis en CJS par les tests TikTak/Kanbante/Flowdeck,
* et importé en ESM par le test ObsiGate (frontend/js est "type":
* "module") — où `this` de niveau supérieur vaut undefined. */
var PROD = {
obsigate: "https://og.dracodev.net/",
@@ -501,4 +505,10 @@
} else {
init();
}
})(typeof window !== "undefined" ? window : this);
})(
typeof window !== "undefined"
? window
: typeof globalThis !== "undefined"
? globalThis
: this
);