Skip to content

Commit

Permalink
Merge pull request #24 from Darock-Studio/fix/user-video-crash
Browse files Browse the repository at this point in the history
修复用户投稿视频列表崩溃问题
  • Loading branch information
WindowsMEMZ authored Dec 7, 2023
2 parents a241188 + 0897bf1 commit c502c97
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions DarockBili Watch App/PersonalCenter/UserDetailView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,7 @@ struct UserDetailView: View {
func RefreshVideos() {
videos = [[String: String]]()
let headers: HTTPHeaders = [
"accept-language": "en,zh-CN;q=0.9,zh;q=0.8",
"cookie": "SESSDATA=\(sessdata);",
"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Safari/605.1.15"
]
Expand Down

0 comments on commit c502c97

Please sign in to comment.