package controllers import play.api.mvc._ import actions.CORSAction import javax.inject._ @Singleton class HomeController @Inject()( val controllerComponents: ControllerComponents, corsAction: CORSAction ) extends BaseController { def index(): Action[AnyContent] = corsAction { implicit request => Ok(views.html.index()) } }