File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ button.checked {
6565app . get ( "/callback/:code" , async ( c : Context ) => {
6666 const code = c . req . param ( "code" ) ;
6767 const resp = await fetch (
68- `https://logout .datasektionen.se/legacyapi/verify/${
68+ `https://sso .datasektionen.se/legacyapi/verify/${
6969 encodeURIComponent ( code )
7070 } ?api_key=${ loginApiKey } `,
7171 ) ;
@@ -175,7 +175,7 @@ app.get("/", async (c: Context) => {
175175 const kthid = await getSignedCookie ( c , cookieSecret , "kthid" ) ;
176176 if ( ! kthid ) {
177177 return c . redirect (
178- "https://logout .datasektionen.se/legacyapi/login?callback=" +
178+ "https://sso .datasektionen.se/legacyapi/login?callback=" +
179179 encodeURIComponent ( "https://smingo.datasektionen.se/callback/" ) ,
180180 ) ;
181181 }
You can’t perform that action at this time.
0 commit comments