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

Add op to download or view file #722

Merged
merged 3 commits into from
Dec 5, 2024
Merged

Add op to download or view file #722

merged 3 commits into from
Dec 5, 2024

Conversation

feiniks
Copy link
Contributor

@feiniks feiniks commented Dec 4, 2024

No description provided.


op := r.URL.Query().Get("op")
if op == "" {
op = "download"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里默认应该是 download-link,否则流量统计的分类会错。

还有,发现流量统计现在不会统计 view 类型的流量,这个应该统计到 web-file-download 的分类下面。

@killing killing merged commit e8c0e81 into master Dec 5, 2024
6 checks passed
@killing killing deleted the download_op branch December 5, 2024 07:08
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

Successfully merging this pull request may close these issues.

2 participants