@@ -165,7 +165,7 @@ discard block |
||
165 | 165 | // Replace the hard-coded dev server URL with whatever they have theirs set to |
166 | 166 | $script = str_replace( |
167 | 167 | 'http://localhost:3000/', |
168 | - rtrim($this->devServerPublic, '/') . '/', |
|
168 | + rtrim($this->devServerPublic, '/').'/', |
|
169 | 169 | $script |
170 | 170 | ); |
171 | 171 | $lines[] = HtmlHelper::script( |
@@ -270,7 +270,7 @@ discard block |
||
270 | 270 | // Replace the hard-coded dev server URL with whatever they have theirs set to |
271 | 271 | $script = str_replace( |
272 | 272 | 'http://localhost:3000/', |
273 | - rtrim($this->devServerPublic, '/') . '/', |
|
273 | + rtrim($this->devServerPublic, '/').'/', |
|
274 | 274 | $script |
275 | 275 | ); |
276 | 276 | $view->registerScript( |
@@ -289,7 +289,7 @@ discard block |
||
289 | 289 | $view->registerJsFile( |
290 | 290 | $url, |
291 | 291 | array_merge(['type' => 'module'], $scriptTagAttrs), |
292 | - md5($url . JsonHelper::encode($scriptTagAttrs)) |
|
292 | + md5($url.JsonHelper::encode($scriptTagAttrs)) |
|
293 | 293 | ); |
294 | 294 | } |
295 | 295 | |
@@ -379,7 +379,7 @@ discard block |
||
379 | 379 | public function invalidateCaches() |
380 | 380 | { |
381 | 381 | $cache = Craft::$app->getCache(); |
382 | - TagDependency::invalidate($cache, FileHelper::CACHE_TAG . $this->cacheKeySuffix); |
|
382 | + TagDependency::invalidate($cache, FileHelper::CACHE_TAG.$this->cacheKeySuffix); |
|
383 | 383 | Craft::info('All Vite caches cleared', __METHOD__); |
384 | 384 | } |
385 | 385 | |
@@ -477,7 +477,7 @@ discard block |
||
477 | 477 | $view->registerJsFile( |
478 | 478 | $url, |
479 | 479 | $tag['options'], |
480 | - md5($url . JsonHelper::encode($tag['options'])) |
|
480 | + md5($url.JsonHelper::encode($tag['options'])) |
|
481 | 481 | ); |
482 | 482 | break; |
483 | 483 | case 'css': |