mirror of
https://github.com/JuLi0n21/pwa-player.git
synced 2026-04-19 23:40:05 +00:00
fix docker build path
This commit is contained in:
4
.github/workflows/osumusic.yml
vendored
4
.github/workflows/osumusic.yml
vendored
@@ -24,11 +24,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Build Proxy Docker image
|
- name: Build Proxy Docker image
|
||||||
run: |
|
run: |
|
||||||
docker build -t juli0n21/proxy-container:latest -t juli0n21/proxy-container:${{ github.sha }} .
|
docker build -t juli0n21/proxy-container:latest -t juli0n21/proxy-container:${{ github.sha }} ./proxy
|
||||||
|
|
||||||
- name: Build Frontend Docker image
|
- name: Build Frontend Docker image
|
||||||
run: |
|
run: |
|
||||||
docker build -t juli0n21/frontend-container:latest -t juli0n21/frontend-container:${{ github.sha }} .
|
docker build -t juli0n21/frontend-container:latest -t juli0n21/frontend-container:${{ github.sha }} ./frontend
|
||||||
|
|
||||||
- name: Log in to Docker Hub
|
- name: Log in to Docker Hub
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ type OsuApiClient struct {
|
|||||||
func NewOsuApiClient(user User) (*OsuApiClient, error) {
|
func NewOsuApiClient(user User) (*OsuApiClient, error) {
|
||||||
|
|
||||||
if user.Token == (Token{}) {
|
if user.Token == (Token{}) {
|
||||||
return nil, errors.New("No Valid Credentials")
|
return nil, errors.New("no valid credentials")
|
||||||
}
|
}
|
||||||
|
|
||||||
if time.Now().After(user.ExpireDate) {
|
if time.Now().After(user.ExpireDate) {
|
||||||
|
|||||||
Reference in New Issue
Block a user