File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 135
135
136
136
if ( PC ) {
137
137
try {
138
- const res = await fetch ( `https://auth-api.itinerary.eu.org/auth/verifyToken /${ PC } ` ) ;
138
+ const res = await fetch ( `https://scratch-id.onrender.com/verification /${ PC } ` ) ;
139
139
const data = await res . json ( ) ;
140
140
const plainUsername = data . username ;
141
141
const encodedUsername = btoa ( plainUsername ) ;
170
170
function registerScratchAuth ( ) {
171
171
const messageBox = document . getElementById ( "scratchMessage" ) ;
172
172
const redirectLocation = btoa ( window . location . href ) ;
173
- const authUrl = `https://auth.itinerary.eu.org/auth ?redirect=${ redirectLocation } &name=Scratch%20Coding%20Hut` ;
173
+ const authUrl = `https://scratch-id.onrender.com/ ?redirect=${ redirectLocation } &name=Scratch%20Coding%20Hut` ;
174
174
175
175
messageBox . style . color = "green" ;
176
- messageBox . textContent = "Redirecting to ScratchAuth ... Follow the steps there." ;
176
+ messageBox . textContent = "Redirecting to ScratchID ... Follow the steps there." ;
177
177
setTimeout ( ( ) => {
178
178
window . location . href = authUrl ;
179
179
} , 2000 ) ;
You can’t perform that action at this time.
0 commit comments