File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 135135
136136 if ( PC ) {
137137 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 } ` ) ;
139139 const data = await res . json ( ) ;
140140 const plainUsername = data . username ;
141141 const encodedUsername = btoa ( plainUsername ) ;
170170 function registerScratchAuth ( ) {
171171 const messageBox = document . getElementById ( "scratchMessage" ) ;
172172 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` ;
174174
175175 messageBox . style . color = "green" ;
176- messageBox . textContent = "Redirecting to ScratchAuth ... Follow the steps there." ;
176+ messageBox . textContent = "Redirecting to ScratchID ... Follow the steps there." ;
177177 setTimeout ( ( ) => {
178178 window . location . href = authUrl ;
179179 } , 2000 ) ;
You can’t perform that action at this time.
0 commit comments