Skip to content

Commit

Permalink
Replace mysql/redis installer host value fields with placeholders (#1002
Browse files Browse the repository at this point in the history
)
  • Loading branch information
1day2die authored Sep 22, 2024
2 parents 23f540e + 6c6bf21 commit 58dc351
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public/installer/views/database-configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class="px-2 py-1 bg-[#1D2125] border-2 focus:border-sky-500 box-border rounded-m
<div class="flex flex-col mb-3">
<label for="databasehost">Database Host</label>
<input x-model="databasehost" id="databasehost" name="databasehost" type="text" required
value="<?php echo(determineIfRunningInDocker() ? 'mysql' : '127.0.0.1') ?>"
placeholder="e.g. localhost, 10.x.x.x, mysql, 192.168.x.x"
class="px-2 py-1 bg-[#1D2125] border-2 focus:border-sky-500 box-border rounded-md border-transparent outline-none">
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion public/installer/views/redis-configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<div class="flex flex-col mb-3">
<label for="redishost">Redis Host</label>
<input x-model="redishost" id="redishost" name="redishost" type="text" required
value="<?php echo(determineIfRunningInDocker() ? 'redis' : '127.0.0.1') ?>"
placeholder="e.g. localhost, 127.0.0.1, 10.x.x.x, redis, 192.168.x.x"
class="px-2 py-1 bg-[#1D2125] border-2 focus:border-sky-500 box-border rounded-md border-transparent outline-none">
</div>
</div>
Expand Down

0 comments on commit 58dc351

Please sign in to comment.