Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Dec 22, 2020
1 parent 640f054 commit 7457004
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SailServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ protected function registerCommands()
$environment = file_get_contents(base_path('.env'));

$environment = str_replace('DB_HOST=127.0.0.1', 'DB_HOST=mysql', $environment);
$environment = str_replace('MEMCACHED_HOST=127.0.0.1', 'MEMCACHED_HOST=redis', $environment);
$environment = str_replace('MEMCACHED_HOST=127.0.0.1', 'MEMCACHED_HOST=memcached', $environment);
$environment = str_replace('REDIS_HOST=127.0.0.1', 'REDIS_HOST=redis', $environment);

file_put_contents(base_path('.env'), $environment);
Expand Down

0 comments on commit 7457004

Please sign in to comment.