feat: update
This commit is contained in:
@@ -12,7 +12,7 @@ func FullURI(ctx fiber.Ctx) string {
|
||||
if err != nil {
|
||||
return ""
|
||||
}
|
||||
u.Scheme = ctx.Protocol()
|
||||
u.Scheme = ctx.Scheme()
|
||||
u.Host = ctx.Host()
|
||||
|
||||
return u.String()
|
||||
|
||||
@@ -7,6 +7,9 @@ const client = axios.create({
|
||||
withCredentials: true,
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
'X-Requested-With': 'XMLHttpRequest',
|
||||
'Accept': 'application/json',
|
||||
'Accept-Language': 'zh-CN,zh;q=0.9',
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user