Skip to content

Commit

Permalink
πŸ› Bug - hidden ping endpoints until the website has been saved
Browse files Browse the repository at this point in the history
  • Loading branch information
Owen Melbourne committed Oct 8, 2019
1 parent dbe7824 commit 090d32c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions resources/views/websites-form.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
'charset' => 'qwertyuiopasdfghjklzxcvbnm1234567890QWERTYUIOPASDFGHJKLZXCVBNM',
])

@if($entry)
<div id="cron_info_field" class="cloak">
<p>
When your scheduled task starts, you should ping:
Expand All @@ -73,3 +74,8 @@
<pre><code>{{ route('ping.stop', ['website' => $entry, 'task' => 'Optimise-Images']) }}</code></pre>
</p>
</div>
@else
<div id="cron_info_field" class="cloak">
<p>Once you've "Saved" this website, we'll provide you with your ping endpoints.</p>
</div>
@endif

0 comments on commit 090d32c

Please sign in to comment.