code: public static String getSpaViewName() {
          Configuration config = ConfigUtils.getCurrentConfig();
          if (config != null) {
              return config.getString(SPA_VIEW_NAME, DEFAULT_SPA_VIEW_NAME);
          } else {
              return DEFAULT_SPA_VIEW_NAME;
          }
      }
docs: Returns the view name for the SPA (Single Page Application). Current view names can be a page URL (like /)
  or a template name (like /template/web/app.ftl). By default, if SPA is enabled and no view name config property
  is found, / is returned.