Skip to content

Commit

Permalink
bad rng
Browse files Browse the repository at this point in the history
  • Loading branch information
jorqensen committed Oct 4, 2022
1 parent cabce89 commit 85747c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
14 changes: 1 addition & 13 deletions src/config/trongate.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,8 @@
|--------------------------------------------------------------------------
|
| Who doesn't love a good ol' countdown? Specify the time (in seconds)
| we should be counting down before redirection delay hits.
| we should be counting down before redirecting the visitor.
|
*/
'countdown' => 5,

/*
|--------------------------------------------------------------------------
| Delay before redirection
|--------------------------------------------------------------------------
|
| Bask in the glory of Trongate for just a while longer before
| redirecting the visitor. Specify the time (in seconds) before the
| redirect will occur.
|
*/
'redirect_delay' => 1,
];
2 changes: 1 addition & 1 deletion src/resources/views/trongate.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<p>
You will be redirected in
<span _="on load set $timer to {{ config('trongate.countdown') }} repeat {{ config('trongate.countdown') }} times decrement $timer then put it into my innerHTML wait {{ config('trongate.redirect_delay') }}s end then go to url 'https://trongate.io'">
<span _="on load set $timer to {{ config('trongate.countdown') }} repeat {{ config('trongate.countdown') }} times decrement $timer then put it into my innerHTML wait 1s end then go to url 'https://trongate.io'">
{{ config('trongate.countdown') }}
</span>
seconds.
Expand Down

0 comments on commit 85747c4

Please sign in to comment.