diff --git a/src/Misc/Scripts.php b/src/Misc/Scripts.php index 2a33dae..e4c8464 100644 --- a/src/Misc/Scripts.php +++ b/src/Misc/Scripts.php @@ -13,7 +13,7 @@ function hellotext_script () { window.Hellotext = Hellotext; - window.Hellotext.__apiURL = 'http://api.lvh.me:4000/v1/'; + window.Hellotext.__apiURL = 'http://api.lvh.me:3000/v1/'; window.Hellotext.initialize(''); diff --git a/src/Services/CreateProfile.php b/src/Services/CreateProfile.php index 2288b8e..5a4f504 100644 --- a/src/Services/CreateProfile.php +++ b/src/Services/CreateProfile.php @@ -27,6 +27,7 @@ public function process () { if (! $this->verify_if_profile_exists()) { $this->get_user(); $this->create_hellotext_profile(); + $this->attach_profile_to_session(); } if ($this->session_changed()) {