All checks were successful
Auto Tag Develop / tag (push) Successful in 8s
- Backend: MaintenanceModeListener blocks non-admin API requests when var/maintenance flag file exists. MaintenanceController provides toggle (PUT /api/admin/maintenance) and public check endpoint (GET /api/maintenance/check). - Frontend: Toggle button in admin page, maintenance.vue page for blocked users, middleware redirects non-admins to /maintenance. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
22 lines
543 B
Vue
22 lines
543 B
Vue
<template>
|
|
<div class="min-h-screen flex items-center justify-center bg-base-200">
|
|
<div class="text-center max-w-md">
|
|
<h1 class="text-4xl font-bold mb-4">
|
|
Maintenance
|
|
</h1>
|
|
<p class="text-lg text-base-content/70 mb-6">
|
|
L'application est actuellement en maintenance. Veuillez réessayer ultérieurement.
|
|
</p>
|
|
<button class="btn btn-primary" @click="retry">
|
|
Réessayer
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup>
|
|
const retry = () => {
|
|
navigateTo('/')
|
|
}
|
|
</script>
|