Compare commits

...

2 Commits

Author SHA1 Message Date
semantic-release-bot 394d0d973d chore(release): 2.15.10 [skip ci]
## [2.15.10](https://github.com/kolplattformen/skolplattformen/compare/v2.15.9...v2.15.10) (2023-10-07)

### Bug Fixes

* 🐛 Updated Timetable URLs ([#659](https://github.com/kolplattformen/skolplattformen/issues/659)) ([e6ba622](e6ba622fa9))
2023-10-07 23:37:04 +02:00
Kajetan Kazimierczak e6ba622fa9
fix: 🐛 Updated Timetable URLs (#659) 2023-10-07 23:33:45 +02:00
4 changed files with 15 additions and 8 deletions

View File

@ -1,3 +1,10 @@
## [2.15.10](https://github.com/kolplattformen/skolplattformen/compare/v2.15.9...v2.15.10) (2023-10-07)
### Bug Fixes
* 🐛 Updated Timetable URLs ([#659](https://github.com/kolplattformen/skolplattformen/issues/659)) ([e6ba622](https://github.com/kolplattformen/skolplattformen/commit/e6ba622fa9d5c7ec533a71fe5b1fab6687a8fefe))
## [2.15.9](https://github.com/kolplattformen/skolplattformen/compare/v2.15.8...v2.15.9) (2023-09-21) ## [2.15.9](https://github.com/kolplattformen/skolplattformen/compare/v2.15.8...v2.15.9) (2023-09-21)

View File

@ -570,7 +570,7 @@ export class ApiSkolplattformen extends EventEmitter implements Api {
await this.ssoAuthorize('TimetableViewer') await this.ssoAuthorize('TimetableViewer')
const body = { const body = {
getPersonalTimetablesRequest: { getPersonalTimetablesRequest: {
hostName: 'fns.stockholm.se', hostName: 'stockholm.skola24.se',
}, },
} }
const session = this.getRequestInit({ const session = this.getRequestInit({
@ -619,7 +619,7 @@ export class ApiSkolplattformen extends EventEmitter implements Api {
customerKey: '', customerKey: '',
endDate: null, endDate: null,
height: 1063, height: 1063,
host: 'fns.stockholm.se', host: 'stockholm.skola24.se',
periodText: '', periodText: '',
privateFreeTextMode: null, privateFreeTextMode: null,
privateSelectionMode: true, privateSelectionMode: true,

View File

@ -86,18 +86,18 @@ export const createItemConfig =
// Skola24 // Skola24
export const ssoRequestUrl = (targetSystem: string) => export const ssoRequestUrl = (targetSystem: string) =>
`https://fnsservicesso1.stockholm.se/sso-ng/saml-2.0/authenticate?customer=https://login001.stockholm.se&targetsystem=${targetSystem}` `https://stockholm-sso.skola24.se/nssso/saml-2.0/authenticate?customer=https://login001.stockholm.se&targetsystem=${targetSystem}`
export const ssoResponseUrl = export const ssoResponseUrl =
'https://login001.stockholm.se/affwebservices/public/saml2sso' 'https://login001.stockholm.se/affwebservices/public/saml2sso'
export const samlResponseUrl = export const samlResponseUrl =
'https://fnsservicesso1.stockholm.se/sso-ng/saml-2.0/response' 'https://stockholm-sso.skola24.se/nssso/saml-2.0/response'
export const timetables = export const timetables =
'https://fns.stockholm.se/ng/api/services/skola24/get/personal/timetables' 'https://stockholm.skola24.se/ng/api/services/skola24/get/personal/timetables'
export const renderKey = export const renderKey =
'https://fns.stockholm.se/ng/api/get/timetable/render/key' 'https://stockholm.skola24.se/ng/api/get/timetable/render/key'
export const timetable = 'https://fns.stockholm.se/ng/api/render/timetable' export const timetable = 'https://stockholm.skola24.se/ng/api/render/timetable'
export const topologyConfigUrl = export const topologyConfigUrl =
'https://fantomenkrypto.vercel.app/api/getConfig' 'https://fantomenkrypto.vercel.app/api/getConfig'

View File

@ -1,6 +1,6 @@
{ {
"name": "skolplattformen", "name": "skolplattformen",
"version": "2.15.9", "version": "2.15.10",
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"start": "nx start", "start": "nx start",