Compare commits

..

1 Commits

Author SHA1 Message Date
b697b1114e feat: 添加 gitea 构建脚本
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 6m6s
2025-06-01 16:50:41 +08:00
2 changed files with 1 additions and 2 deletions

View File

@@ -29,7 +29,6 @@ jobs:
cache-dependency-path: frontend
- name: Build Frontend
run: |
mkdir build
make assets
- name: Build Yggdrasil Server
uses: crazy-max/ghaction-xgo@v2

View File

@@ -398,7 +398,7 @@ func (u *userServiceImpl) ProfileKey(accessToken string) (resp *ProfileKeyRespon
resp = new(ProfileKeyResponse)
now := time.Now().UTC()
resp.RefreshedAfter = now
resp.ExpiresAt = now.Add(10 * time.Minute)
resp.ExpiresAt = now.Add(time.Hour * 24 * 90)
keyPair, err := u.getProfileKey(token.SelectedProfile.Id)
if err != nil {
return nil, err