
Also update the tests accordingly. Signed-off-by: Aline Manera <alinefm@linux.vnet.ibm.com> --- src/kimchi/config.py.in | 6 ++++++ tests/test_config.py.in | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/src/kimchi/config.py.in b/src/kimchi/config.py.in index 8cc63e7..7ca1a1f 100644 --- a/src/kimchi/config.py.in +++ b/src/kimchi/config.py.in @@ -229,6 +229,12 @@ class KimchiConfig(dict): 'tools.staticfile.filename': paths.spice_css_file, 'tools.nocache.on': True, }, + '/base64/jquery.base64.js': { + 'tools.staticfile.on': True, + 'tools.staticfile.filename': '%s/base64/jquery.base64.js' % + paths.ui_dir, + 'tools.nocache.on': True, + }, '/kimchi-ui.html': { 'tools.kimchiauth.on': True }, diff --git a/tests/test_config.py.in b/tests/test_config.py.in index 6123f66..96a339d 100644 --- a/tests/test_config.py.in +++ b/tests/test_config.py.in @@ -128,6 +128,12 @@ class ConfigTests(unittest.TestCase): 'tools.staticfile.filename': paths.spice_css_file, 'tools.nocache.on': True, }, + '/base64/jquery.base64.js': { + 'tools.staticfile.on': True, + 'tools.staticfile.filename': '%s/base64/jquery.base64.js' % + paths.ui_dir, + 'tools.nocache.on': True, + }, '/kimchi-ui.html': { 'tools.kimchiauth.on': True }, -- 2.1.0