- Integrated Authentik OAuth/OIDC authentication - Added PWA functionality with offline support - Created protected and public API endpoints - Configured Docker deployment with Traefik - Added Gitea Actions CI/CD workflow - Included comprehensive setup documentation
14 lines
335 B
TypeScript
14 lines
335 B
TypeScript
/**
|
|
* Public API Endpoint
|
|
* Ruta: /api/public
|
|
*
|
|
* Endpoint público que no requiere autenticación
|
|
* Útil para datos que deben estar disponibles offline
|
|
*/
|
|
export default defineEventHandler(async (event) => {
|
|
return {
|
|
message: 'Este endpoint es público y funciona offline',
|
|
timestamp: new Date().toISOString()
|
|
}
|
|
})
|