<?php

namespace App\Http\Controllers;

use App\Services\LoginScreenNewsService;
use Illuminate\Http\Response;

class WowLoginNewsFeedController extends Controller
{
    public function show(LoginScreenNewsService $news): Response
    {
        return response($news->renderFeed(), 200, [
            'Content-Type' => 'text/plain; charset=UTF-8',
            'Cache-Control' => 'no-store, no-cache, must-revalidate, max-age=0',
        ]);
    }
}
