7 Commits

Author SHA1 Message Date
33d6a51416 refactor(web): Migrate to modern web frontend and simplify admin routes
- Remove legacy static files, templates, and JavaScript
- Update main.go to serve SPA-style web application
- Modify admin route handling to support client-side routing
- Simplify configuration and metrics API endpoints
- Remove server-side template rendering in favor of static file serving
- Update Dockerfile and GitHub Actions to build web frontend
2025-02-15 11:44:09 +08:00
fa5cbff486 feat(web): Update file paths for static and template serving in Docker environment
- Modify Dockerfile to copy web directory into /app
- Update main.go to serve static and template files from absolute paths (/app/web)
- Add debug logging for static file and template route handling
- Ensure consistent file serving across admin and web routes
2025-02-15 09:29:55 +08:00
e89ef02205 特性(代理):通过端口和身份验证更新来增强服务器配置和安全性。
- 更新 docker-compose.yml 文件,使用端口 3336
- 修改 Dockerfile 以暴露端口 3336
- 重构 main.go 以支持新的路由和管理端点
- 在 auth.go 中实现健壮的身份验证中间件
- 通过加强错误检查来改进指标处理。
- 添加用于安全类型转换的实用函数
- 引入请求ID生成功能,以便更好地进行追踪。
2025-02-15 08:07:28 +08:00
7af9c7cbc9 chore(Docker): simplify timezone setup and use environment variable for timezone 2024-10-31 01:26:34 +08:00
380d993b6d refactor(Dockerfile): standardize Dockerfile structure and remove unused platform argument 2024-10-29 23:14:57 +08:00
c82e9a1d3a chore(workflow, docker): ignore .yml files in build workflow, update Dockerfile for multi-platform support, and add docker-compose.yml
Add docker-compose.yml for local development and testing.
2024-10-29 23:09:03 +08:00
6762c822ab first commit 2024-10-29 23:00:16 +08:00