- VERSION 5.09.01

- Se corrigieron errores en "Manager".
- Se cambiaron nombres de handlers.
- Se corrigio un error en la ruta de "www/login.html".
This commit is contained in:
2025-09-01 20:37:37 -06:00
parent 4083696bbe
commit 2bf75cadc0
20 changed files with 2217 additions and 204 deletions

23
LoginHandler.bas Normal file
View File

@@ -0,0 +1,23 @@
B4J=true
Group=Default Group
ModulesStructureVersion=1
Type=Class
Version=10.3
@EndOfDesignText@
'Class module: LoginHandler
Sub Class_Globals
End Sub
Public Sub Initialize
End Sub
Public Sub Handle(req As ServletRequest, resp As ServletResponse)
resp.ContentType = "text/html"
' Suponiendo que el archivo login.html está en la carpeta www de tu proyecto
Try
resp.Write(File.ReadString(File.DirApp, "www/login.html"))
Catch
Log("Error: No se encontró el archivo www/login.html")
resp.Write("Error: Archivo de login no encontrado.")
End Try
End Sub