Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
feat: using proxy to optimize gh actions
Browse files Browse the repository at this point in the history
now it's only for whpu
  • Loading branch information
beetcb committed Feb 22, 2021
1 parent 4006007 commit d48b86f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,9 @@ class School {
res = await JSON.parse(await res.text())

const origin = new URL(res.data[0].ampUrl).origin
const casOrigin = res.data[0].idsUrl
const casOrigin = process.env.GITHUB_ACTION
? 'https://lean.beetcb.com/authserver'
: res.data[0].idsUrl
const schoolName = res.data[0].name
return {
name: schoolName,
Expand Down

0 comments on commit d48b86f

Please sign in to comment.