41 lines
1.0 KiB
TypeScript
41 lines
1.0 KiB
TypeScript
import { EnvironmentTypes, SiteConfig, footerApp, headerApp, shellApp } from '@openedx/frontend-base';
|
|
|
|
import { learnerDashboardApp } from './src';
|
|
|
|
import './src/app.scss';
|
|
|
|
const siteConfig: SiteConfig = {
|
|
siteId: 'learner-dashboard-dev',
|
|
siteName: 'Learner Dashboard Dev',
|
|
baseUrl: 'http://apps.local.openedx.io:1996',
|
|
lmsBaseUrl: 'http://local.openedx.io:8000',
|
|
loginUrl: 'http://local.openedx.io:8000/login',
|
|
logoutUrl: 'http://local.openedx.io:8000/logout',
|
|
|
|
environment: EnvironmentTypes.DEVELOPMENT,
|
|
apps: [
|
|
shellApp,
|
|
headerApp,
|
|
footerApp,
|
|
learnerDashboardApp
|
|
],
|
|
externalRoutes: [
|
|
{
|
|
role: 'org.openedx.frontend.role.profile',
|
|
url: 'http://apps.local.openedx.io:1995/profile/'
|
|
},
|
|
{
|
|
role: 'org.openedx.frontend.role.account',
|
|
url: 'http://apps.local.openedx.io:1997/account/'
|
|
},
|
|
{
|
|
role: 'org.openedx.frontend.role.logout',
|
|
url: 'http://local.openedx.io:8000/logout'
|
|
},
|
|
],
|
|
|
|
accessTokenCookieName: 'edx-jwt-cookie-header-payload',
|
|
};
|
|
|
|
export default siteConfig;
|