diff --git a/static/favicon.ico b/static/favicon.ico new file mode 100644 index 0000000..5afb139 Binary files /dev/null and b/static/favicon.ico differ diff --git a/xq/restx_dict_cached.xq b/xq/restx_dict_cached.xq index 041d990..d8d2d39 100644 --- a/xq/restx_dict_cached.xq +++ b/xq/restx_dict_cached.xq @@ -160,6 +160,16 @@ declare function page:invert-lang($lang as xs:string) as xs:string { if($lang = 'en') then 'ru' else 'en' }; +(: =============================================================== :) +(: ============================ FAVICON ========================== :) +(: =============================================================== :) + +declare %rest:path("/favicon.ico") + %rest:GET + function page:favicon() { + fetch:binary('../static/favicon.ico') + }; + (: =============================================================== :) (: ======================= SEARCH ENTRYPOINT ===================== :) (: =============================================================== :)