diff --git a/app/Models/GuestbookEntry.php b/app/Models/GuestbookEntry.php index 507f6cf..58a61f1 100644 --- a/app/Models/GuestbookEntry.php +++ b/app/Models/GuestbookEntry.php @@ -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->ip(); + $newEntry->ip = $request->header('X-Forwarded-For'); $newEntry->agent = $request->userAgent(); $newEntry->flagged = true; $newEntry->save(); diff --git a/config/app.php b/config/app.php index dcd1de2..1ab86ae 100644 --- a/config/app.php +++ b/config/app.php @@ -5,7 +5,7 @@ return [ 'name' => env('APP_NAME', 'wah.moe'), - 'version' => '2026.01.25', + 'version' => '2026.02.12', 'env' => env('APP_ENV', 'production'), 'debug' => (bool)env('APP_DEBUG', false), 'url' => env('APP_URL', 'http://localhost'),