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

Commit

Permalink
chore: replace proxy server, fix TIMEOUT issue
Browse files Browse the repository at this point in the history
  • Loading branch information
beetcb committed Apr 15, 2021
1 parent 35846de commit 89cd54e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@beetcb/cea",
"version": "2.1.12",
"version": "2.1.13",
"description": "campusphere-elegant-auth: login to swms/campusphere at ease",
"main": "dist/index.js",
"bin": "dist/cli.js",
Expand Down
2 changes: 1 addition & 1 deletion src/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ class School {

// Proxy the host who blocks foreign ip access
if (process.env.GITHUB_ACTION && name === 'whpu') {
casOrigin = 'https://lean.beetcb.com/authserver'
casOrigin = 'http://whpu.beetcb.com/authserver'
console.warn('尝试使用代理访问学校登录页面')
}

Expand Down

0 comments on commit 89cd54e

Please sign in to comment.