新功能: - 签到墙页面 (CheckinWallView) 及后端接口 - 摇一摇互动页面 (ShakeView) 及服务 - 头像服务 (avatar.service) - 微信公众号静默授权登录增强 开发环境: - 新增 dev-tunnel skill 用于本地调试 - docker-compose.dev.yml 开发环境配置 - 客户端 .env.development 配置文件 其他改进: - VoteView 投票页面功能增强 - AdminControl 管理控制台更新 - 连接状态管理优化 - 新增马蹄声音效 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
49 lines
1.2 KiB
Caddyfile
49 lines
1.2 KiB
Caddyfile
{
|
|
email let5sne@gmail.com
|
|
}
|
|
|
|
2026.cptp.let5see.xyz {
|
|
# WeChat verification file
|
|
handle /A6e75lM1ge.txt {
|
|
respond "3a5d2d7f410fbcbc32e3c222b2cf28bf"
|
|
}
|
|
|
|
# Screen client
|
|
handle /screen* {
|
|
root * /root/company-celebration/packages/client-screen/dist
|
|
uri strip_prefix /screen
|
|
try_files {path} /index.html
|
|
file_server
|
|
|
|
header Cache-Control "no-cache, no-store, must-revalidate"
|
|
|
|
@screenassets path_regexp assets \/assets\/.*
|
|
header @screenassets Cache-Control "public, max-age=31536000, immutable"
|
|
}
|
|
|
|
# API proxy
|
|
handle /api/* {
|
|
header Cache-Control "no-store, no-cache, must-revalidate"
|
|
reverse_proxy localhost:3000
|
|
}
|
|
|
|
# WebSocket proxy
|
|
handle /socket.io/* {
|
|
reverse_proxy localhost:3000
|
|
}
|
|
|
|
# Mobile client (default)
|
|
handle {
|
|
root * /root/company-celebration/packages/client-mobile/dist
|
|
try_files {path} /index.html
|
|
file_server
|
|
|
|
header Cache-Control "no-cache, no-store, must-revalidate"
|
|
|
|
@mobileassets path_regexp assets \/assets\/.*
|
|
header @mobileassets Cache-Control "public, max-age=31536000, immutable"
|
|
}
|
|
|
|
encode gzip
|
|
}
|