From 13b18c2489ee9441143db7bd1c8db7a38c434864 Mon Sep 17 00:00:00 2001 From: Pig Fang Date: Thu, 2 May 2019 15:38:00 +0800 Subject: [PATCH] Append version for requesting plugin assets --- app/Services/Plugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/Plugin.php b/app/Services/Plugin.php index dc43885e..9e37268a 100644 --- a/app/Services/Plugin.php +++ b/app/Services/Plugin.php @@ -90,7 +90,7 @@ class Plugin { $baseUrl = config('plugins.url') ?: url('plugins'); - return "$baseUrl/{$this->getDirname()}/assets/$relativeUri"; + return "$baseUrl/{$this->getDirname()}/assets/$relativeUri?v=".$this->version; } /**