diff --git a/src/AddressLookup.php b/src/AddressLookup.php index 58e39a7..8f1b9db 100644 --- a/src/AddressLookup.php +++ b/src/AddressLookup.php @@ -181,7 +181,7 @@ public function renderView() } if (!AddressLookup::$isApiLoaded) { - $this->app->requireJs( '../vendor/atk4/google-address/public/atk-google-address.min.js'); + $this->app->requireJs( 'https://cdn.rawgit.com/atk4/google-address/develop/public/atk-google-address.min.js'); $this->app->requireJs( "https://maps.googleapis.com/maps/api/js?key={$this->apiKey}&libraries=places&callback=atk.mapService.initGoogleApi", false, true ); AddressLookup::$isApiLoaded = true; }