tongchengbin / ocean_ctf

CTF平台 支持docker 动态部署题目、分数统计、作弊检测,静态题目,漏洞复现,ctf platform,

Home Page:http://ctf.lostpeach.cn/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

登录界面刷新会404

wanswu opened this issue · comments

commented

{
"code": 404,
"msg": "Not Found"
}

commented

url 发一下

commented

url 发一下

就是那个主页然后点击登录,然后在登录界面刷新一下就会404

commented

url 发一下

答题界面开启一个容器之后会一直弹提交flag页面

这是因为vue-router的mode使用了history模式,默认应该是hash模式
只需要在nginx配置文件的location加上 try_files $uri $uri/ /index.html; 再重新加载就好了
image

commented

这是因为vue-router的mode使用了history模式,默认应该是hash模式 只需要在nginx配置文件的location加上 try_files $uri $uri/ /index.html; 再重新加载就好了 image

这是因为vue-router的mode使用了history模式,默认应该是hash模式 只需要在nginx配置文件的location加上 try_files $uri $uri/ /index.html; 再重新加载就好了 image

目前部署没有经过nginx所以会出现这个问题、下个版本会修复的。

commented
commented

感谢大佬

commented

fixed