Alvis 发表于 2024-12-4 17:30:48

ak神速啊,cf page部署前端教程已经端上来了,一健脚本也端上来了

建议直接看:
https://github.com/akile-network/akile_monitor

难道是看到我发的帖子了么
1.下载
https://github.com/akile-network/akile_monitor_fe/releases/download/v0.0.1/akile_monitor_fe.zip

2.修改config.json为自己的api地址(公网地址)(如果前端要加ssl 后端也要加ssl 且此处记得改为https和wss)
这个公网地址指的是后端主控地址
{
"socket": "ws(s)://192.168.31.64:3000/ws",
"apiURL": "http(s)://192.168.31.64:3000"
}
3.直接上传文件夹至cf pages

https://github.com/user-attachments/assets/c9e5a950-045a-4a7f-8b30-00899994c8cf
https://github.com/user-attachments/assets/c4096133-694d-4c2a-8d90-f92e48de6e9b

4.设置域名(可选)

https://github.com/user-attachments/assets/14adc0cf-2292-4148-a913-7a466e441d71
页: [1]
查看完整版本: ak神速啊,cf page部署前端教程已经端上来了,一健脚本也端上来了