summaryrefslogtreecommitdiffstats
path: root/cvp/opnfv_testapi/ui/root.py
blob: 5b2c922d7503c24ce0922bb9e78f57dec8bb3d27 (plain)
1
2
3
4
5
6
7
8
9
10
from opnfv_testapi.resources.handlers import GenericApiHandler
from opnfv_testapi.common.config import CONF


class RootHandler(GenericApiHandler):
    def get_template_path(self):
        return CONF.static_path

    def get(self):
        self.render('testapi-ui/index.html')