Skip to content

Commit e59a6f8

Browse files
chore: add dev SUPPORT_URL config for help button verification (#16)
Sets commonAppConfig.SUPPORT_URL and an instructor-dashboard per-app SUPPORT_URL override in site.config.dev.tsx so the help button can be verified locally without standing up a backend. site.config.build.tsx is intentionally not modified — these are example URLs for local dev and shouldn't ship in production builds. Operators configure SUPPORT_URL through whatever mechanism suits their deployment. Refs openedx/frontend-base#245 Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 02cdbb8 commit e59a6f8

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

site.config.dev.tsx

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ const siteConfig: SiteConfig = {
1515
lmsBaseUrl: 'http://local.openedx.io:8000',
1616
loginUrl: 'http://local.openedx.io:8000/login',
1717
logoutUrl: 'http://local.openedx.io:8000/logout',
18+
commonAppConfig: {
19+
SUPPORT_URL: 'https://example.com/help/',
20+
},
1821

1922
environment: EnvironmentTypes.DEVELOPMENT,
2023
apps: [
@@ -23,7 +26,13 @@ const siteConfig: SiteConfig = {
2326
footerApp,
2427
authnApp,
2528
learnerDashboardApp,
26-
instructorDashboardApp,
29+
{
30+
...instructorDashboardApp,
31+
config: {
32+
...instructorDashboardApp.config,
33+
SUPPORT_URL: 'https://example.com/help/instructor',
34+
},
35+
},
2736
notificationsApp,
2837
],
2938
externalRoutes: [

0 commit comments

Comments
 (0)