Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

首页不会更新 #59

Open
johnathan1983 opened this issue Aug 7, 2020 · 5 comments
Open

首页不会更新 #59

johnathan1983 opened this issue Aug 7, 2020 · 5 comments

Comments

@johnathan1983
Copy link

不确定是不是我使用问题,部署后,遇到攻击,首页内容不会更新。

@medasz
Copy link

medasz commented Feb 18, 2021

我的是攻击列表有数据但是系统首页没有内容

@p1r06u3
Copy link
Owner

p1r06u3 commented Feb 18, 2021

可以加我微信吗?pirogue-tk
我怀疑是https://github.com/p1r06u3/opencanary_web/blob/master/service/chartservice.py 第43行的问题,应该把第43行去掉,因为42行已经定义了当前的统计图表年份,而43行又用2019覆盖了,因为当时开发的时间是2019年,没有考虑到后面应该自动更新年份去统计。

@medasz
Copy link

medasz commented Feb 18, 2021

嗯嗯,是的,我注释了chartservice.py的43行now赋值就可以了

@medasz
Copy link

medasz commented Feb 18, 2021

嗯嗯,是的,我注释了chartservice.py的43行now赋值就可以了

还有134行的now赋值

@p1r06u3
Copy link
Owner

p1r06u3 commented Feb 18, 2021

已经将这两行注释掉了,感谢~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants