fix(index): replace config.views with config.VIEWS