Skip to content

Commit a5013f1

Browse files
committed
Add now.sh auth server
1 parent 60520cb commit a5013f1

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

bypy/const.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@
167167
OpenShiftUrl = 'https://bypyoauth-route-bypy.a3c1.starter-us-west-1.openshiftapps.com'
168168
HerokuUrl = 'https://bypyoauth.herokuapp.com'
169169
Heroku1Url = 'https://bypyoauth1.herokuapp.com'
170+
VercelUrl = 'https://bypyoauthsanic.now.sh/api'
170171
GaeRedirectUrl = GaeUrl + '/auth'
171172
GaeRefreshUrl = GaeUrl + '/refresh'
172173
OpenShiftRedirectUrl = OpenShiftUrl + '/auth'
@@ -175,19 +176,23 @@
175176
HerokuRefreshUrl = HerokuUrl + '/refresh'
176177
Heroku1RedirectUrl = Heroku1Url + '/auth'
177178
Heroku1RefreshUrl = Heroku1Url + '/refresh'
179+
VercelRedirectUrl = VercelUrl + '/auth'
180+
VercelRefreshUrl = VercelUrl + '/refresh'
178181
AuthServerList = [
179182
# url, retry?, message
180183
(OpenShiftRedirectUrl, False, "Authorizing/refreshing with the OpenShift server ..."),
181184
(HerokuRedirectUrl, False, "OpenShift server failed, authorizing/refreshing with the Heroku server ..."),
182185
(Heroku1RedirectUrl, False, "Heroku server failed, authorizing/refreshing with the Heroku1 server ..."),
183-
(GaeRedirectUrl, False, "Heroku1 server failed. Last resort: authorizing/refreshing with the GAE server ..."),
186+
(VercelRedirectUrl, False, "Heroku1 server failed, authorizing/refreshing with the Vercel server ..."),
187+
(GaeRedirectUrl, False, "Vercel server failed. Last resort: authorizing/refreshing with the GAE server ..."),
184188
]
185189
RefreshServerList = [
186190
# url, retry?, message
187191
(OpenShiftRefreshUrl, False, "Authorizing/refreshing with the OpenShift server ..."),
188192
(HerokuRefreshUrl, False, "OpenShift server failed, authorizing/refreshing with the Heroku server ..."),
189193
(Heroku1RefreshUrl, False, "Heroku server failed, authorizing/refreshing with the Heroku1 server ..."),
190-
(GaeRefreshUrl, False, "Heroku1 server failed. Last resort: authorizing/refreshing with the GAE server ..."),
194+
(VercelRefreshUrl, False, "Heroku1 server failed, authorizing/refreshing with the Vercel server ..."),
195+
(GaeRefreshUrl, False, "Vercel server failed. Last resort: authorizing/refreshing with the GAE server ..."),
191196
]
192197

193198
### public static properties

0 commit comments

Comments
 (0)