-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathsite.config.dev.tsx
More file actions
47 lines (41 loc) · 1.27 KB
/
site.config.dev.tsx
File metadata and controls
47 lines (41 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
import { EnvironmentTypes, SiteConfig, footerApp, headerApp, shellApp } from '@openedx/frontend-base';
import { instructorDashboardApp } from './src';
import '@openedx/frontend-base/shell/style';
const siteConfig: SiteConfig = {
siteId: 'instructor-dev',
siteName: 'Instructor Dev',
baseUrl: 'http://apps.local.openedx.io:8080',
lmsBaseUrl: 'http://local.openedx.io:8000',
cmsBaseUrl: 'http://studio.local.openedx.io:8001',
loginUrl: 'http://local.openedx.io:8000/login',
logoutUrl: 'http://local.openedx.io:8000/logout',
environment: EnvironmentTypes.DEVELOPMENT,
apps: [
shellApp,
headerApp,
footerApp,
{
...instructorDashboardApp,
config: {
...instructorDashboardApp.config,
SUPPORT_URL: 'https://docs.openedx.org/en/latest/educators/index.html',
}
}
],
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;