mirror of
https://github.com/beilunyang/moepush.git
synced 2026-04-26 20:15:49 +03:00
[PR #16] [MERGED] fix(push-group): 更改 origin 获取方式 #34
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/moepush#34
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/beilunyang/moepush/pull/16
Author: @wyf9
Created: 4/19/2025
Status: ✅ Merged
Merged: 4/20/2025
Merged by: @beilunyang
Base:
main← Head:fix/push-group-origin📝 Commits (1)
9efc24bfix: change origin get method📊 Changes
2 files changed (+18 additions, -14 deletions)
View changed files
📝
.gitignore(+3 -0)📝
app/api/push-group/[id]/route.ts(+15 -14)📄 Description
原本的 origin 获取方式是直接读取请求的
Origin头但如果请求中没有包含
Origin请求头,就会导致获取到的 origin 为null,产生如下错误:因此作下面的修改:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.