Compare commits

..

No commits in common. "master" and "v2026.02.24" have entirely different histories.

2 changed files with 2 additions and 2 deletions

View file

@ -25,7 +25,7 @@ public static function create(Request $request): GuestbookEntry {
$newEntry = new GuestbookEntry;
$newEntry->name = $request->get('name');
$newEntry->message = $request->get('message');
$newEntry->ip = $request->header('X-Forwarded-For') ?: '0.0.0.0';
$newEntry->ip = $request->header('X-Forwarded-For') ?: $request->ip();
$newEntry->agent = $request->userAgent();
$newEntry->flagged = true;
$newEntry->save();

View file

@ -5,7 +5,7 @@
return [
'name' => env('APP_NAME', 'wah.moe'),
'version' => '2026.02.24-patch0',
'version' => '2026.02.24',
'env' => env('APP_ENV', 'production'),
'debug' => (bool)env('APP_DEBUG', false),
'url' => env('APP_URL', 'http://localhost'),