Skip to content

Commit e6b467b

Browse files
authored
Merge pull request #22 from Gildedter/master
fixed vite env var typo
2 parents 258764e + 629cc18 commit e6b467b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Config/env.default

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#--------------------------------------------------------------------
44

55
VITE_AUTO_INJECTING=true
6-
VITE_EXLUDED_ROUTES=''
6+
VITE_EXCLUDED_ROUTES=''
77
VITE_ORIGIN='http://localhost:3479'
88
VITE_PORT=3479
99
VITE_BUILD_DIR='build'

src/Vite.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public static function isReady(): bool
117117
*/
118118
public static function routeIsNotExluded(): bool
119119
{
120-
$routes = explode(',', env('VITE_EXLUDED_ROUTES'));
120+
$routes = explode(',', env('VITE_EXCLUDED_ROUTES'));
121121

122122
# remove spaces before and after the route.
123123
// foreach($routes as $i => $route) $routes[$i] = ltrim( rtrim($route) );

0 commit comments

Comments
 (0)