Browse Source

加上mtb_preview变量

moshaorui 1 month ago
parent
commit
33f9b5154a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Services/LiquidRenderer.php

+ 1 - 0
app/Services/LiquidRenderer.php

@@ -146,6 +146,7 @@ class LiquidRenderer
     private static function getGlobalConfig(): array
     {
         $preview = isset($_GET['mtb-preview']) ? intval($_GET['mtb-preview']) : 0;
+        dd($preview);
         return [
             'site_title' => config('app.name'),
             'image_base_url' => config('liquid.image_base_url'),