From 06b59c7210e251efec8b159144745b135c237de8 Mon Sep 17 00:00:00 2001 From: Cqoicebordel Date: Thu, 18 Dec 2014 15:51:09 +0100 Subject: [PATCH] [fix] Show map on result in Oscar Allow to find the leafleet js when searx is not installed at the root of the web server. --- searx/static/oscar/js/searx.min.js | Bin 4515 -> 4516 bytes .../oscar/js/searx_src/00_requirejs_config.js | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/searx/static/oscar/js/searx.min.js b/searx/static/oscar/js/searx.min.js index 69cb816aec8237d2f748bcb096d67c3bd1e26b97..a60597b956d7031ba29adc7001d1b53f50037974 100644 GIT binary patch delta 12 TcmZ3iyhM3I8l&FEG+RLc9g74Q delta 10 RcmZ3YyjXcc+QxKSK>!z=1L^<( diff --git a/searx/static/oscar/js/searx_src/00_requirejs_config.js b/searx/static/oscar/js/searx_src/00_requirejs_config.js index 36767843b..99ec4b585 100644 --- a/searx/static/oscar/js/searx_src/00_requirejs_config.js +++ b/searx/static/oscar/js/searx_src/00_requirejs_config.js @@ -16,7 +16,7 @@ */ requirejs.config({ - baseUrl: '/static/oscar/js', + baseUrl: './static/oscar/js', paths: { app: '../app' }