Skip to content

Commit

Permalink
fix html especial characters in commands (#467)
Browse files Browse the repository at this point in the history
  • Loading branch information
saeedvaziry authored Feb 6, 2025
1 parent dd78c86 commit 7be6338
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion resources/views/ssh/cron/update.blade.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
if ! echo '{{ $cron }}' | sudo -u {{ $user }} crontab -; then
if ! echo '{!! $cron !!}' | sudo -u {{ $user }} crontab -; then
echo 'VITO_SSH_ERROR' && exit 1
fi

Expand Down
2 changes: 1 addition & 1 deletion resources/views/ssh/os/deploy-ssh-key.blade.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
if ! echo '{{ $key }}' | sudo tee -a ~/.ssh/authorized_keys; then
if ! echo '{!! $key !!}' | sudo tee -a ~/.ssh/authorized_keys; then
echo 'VITO_SSH_ERROR' && exit 1
fi
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
if ! echo '{{ $redirects }}' | sudo tee /etc/nginx/conf.d/{{ $domain }}_redirects; then
if ! echo '{!! $redirects !!}' | sudo tee /etc/nginx/conf.d/{{ $domain }}_redirects; then
echo 'VITO_SSH_ERROR' && exit 1
fi

Expand Down

0 comments on commit 7be6338

Please # to comment.