diff options
Diffstat (limited to 'testapi/opnfv_testapi/ui/root.py')
-rw-r--r-- | testapi/opnfv_testapi/ui/root.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testapi/opnfv_testapi/ui/root.py b/testapi/opnfv_testapi/ui/root.py new file mode 100644 index 0000000..bba7a86 --- /dev/null +++ b/testapi/opnfv_testapi/ui/root.py @@ -0,0 +1,10 @@ +from opnfv_testapi.resources.handlers import GenericApiHandler +from opnfv_testapi.common import config + + +class RootHandler(GenericApiHandler): + def get_template_path(self): + return config.Config().static_path + + def get(self): + self.render('testapi-ui/index.html') |