File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -290,7 +290,6 @@ jobs:
290290 --name ${{ matrix.name }} \
291291 -p 3000:3000 \
292292 -e DATABASE_URL="${{ secrets.DATABASE_URL }}" \
293- -e LOA_API_BASE_URL="${{ secrets.LOA_API_BASE_URL }}" \
294293 -e LOA_API_TOKEN="${{ secrets.LOA_API_TOKEN }}" \
295294 --restart always \
296295 ${{ secrets.ECR_REGISTRY }}/loa-work/${{ matrix.name }}:latest
Original file line number Diff line number Diff line change @@ -10,18 +10,19 @@ import (
1010 "github.com/pkg/errors"
1111)
1212
13+ const loaApiBaseURL = "https://developer-lostark.game.onstove.com"
14+
1315type Client struct {
1416 baseURL string
1517 client * httpclient.Client
1618 token string
1719}
1820
1921func NewClient () * Client {
20- baseURL := env .GetEnvFallback ("LOA_API_BASE_URL" , "https://developer-lostark.game.onstove.com" )
2122 token := env .MustGetEnv ("LOA_API_TOKEN" )
2223
2324 return & Client {
24- baseURL : baseURL ,
25+ baseURL : loaApiBaseURL ,
2526 client : httpclient .NewClient (),
2627 token : token ,
2728 }
You can’t perform that action at this time.
0 commit comments