diff --git a/src/app/teacher/authoring.config.resolver.ts b/src/app/teacher/authoring.config.resolver.ts index 543535ad471..34ee51d3739 100644 --- a/src/app/teacher/authoring.config.resolver.ts +++ b/src/app/teacher/authoring.config.resolver.ts @@ -7,4 +7,4 @@ export const AuthoringConfigResolver: ResolveFn = ( route: ActivatedRouteSnapshot, state: RouterStateSnapshot, configService: ConfigService = inject(ConfigService) -): Observable => configService.retrieveConfig('api/author/config'); +): Observable => configService.retrieveConfig('/api/author/config'); diff --git a/src/app/teacher/teacher-tools.resolver.ts b/src/app/teacher/teacher-tools.resolver.ts index 0d6766a8fc7..7c3deeebf62 100644 --- a/src/app/teacher/teacher-tools.resolver.ts +++ b/src/app/teacher/teacher-tools.resolver.ts @@ -23,7 +23,7 @@ export const TeacherToolsResolver: ResolveFn = ( websocketService: TeacherWebSocketService = inject(TeacherWebSocketService) ): Observable => configService - .retrieveConfig(`api/config/classroomMonitor/${route.params['unitId']}`) + .retrieveConfig(`/api/config/classroomMonitor/${route.params['unitId']}`) .pipe(switchMap(() => projectService.retrieveProject())) .pipe(switchMap(() => classroomStatusService.retrieveStudentStatuses())) .pipe(switchMap(() => achievementService.retrieveStudentAchievements()))