Jake Vanderwerf
2025-11-10 e9967fa22781d922ba4eb8fb44fe72d200ac4b14
JVBase.php
@@ -25,6 +25,7 @@
use JVBase\rest\routes\QueueRoutes;
use JVBase\rest\routes\ErrorRoutes;
use JVBase\rest\routes\FormRoutes;
use JVBase\rest\routes\LoginRoutes;
use JVBase\rest\routes\NewsRoutes;
use JVBase\rest\routes\ReferralRoutes;
use JVBase\rest\routes\MagicLinkRoutes;
@@ -61,6 +62,7 @@
      'gmb' => 'JVBase\integrations\GoogleMyBusiness',
      'cloudflare' => 'JVBase\integrations\Cloudflare',
      'umami' => 'JVBase\integrations\Umami',
      'postmark' => 'JVBase\integrations\PostMark',
   ];
    public static function getInstance():JVB
@@ -104,6 +106,7 @@
      }
        $this->routes = [
         'login'        => new LoginRoutes(),
         'integrations' => new IntegrationsRoutes(),
      ];
        if (jvbSiteUsesFeedBlock()) {
@@ -117,10 +120,10 @@
            $this->routes['term'] = new TermRoutes();
        }
      $this->routes['queue']  = new QueueRoutes();
      $this->routes['settings']= new SettingsRoutes();
      $this->routes['upload'] = new UploadRoutes();
        if (jvbSiteHasDashboard()) {
            $this->routes['upload'] = new UploadRoutes();
            $this->routes['settings']= new SettingsRoutes();
            $this->routes['queue']  = new QueueRoutes();
            $this->routes['error']  = new ErrorRoutes();
            $this->routes['admin']  = new AdminRoutes();
            $this->routes['content']= new ContentRoutes();