Skip to content

Commit a0422c3

Browse files
chore: update dev hosts from localhost to local.openedx.io
1 parent 9130568 commit a0422c3

File tree

4 files changed

+21
-18
lines changed

4 files changed

+21
-18
lines changed

.env.development

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
EXAMPLE_VAR=Example Value
22
ACCESS_TOKEN_COOKIE_NAME=edx-jwt-cookie-header-payload
3-
ACCOUNT_PROFILE_URL=http://localhost:1995
4-
ACCOUNT_SETTINGS_URL=http://localhost:1997
5-
BASE_URL=http://localhost:8080
6-
CREDENTIALS_BASE_URL=http://localhost:8150
3+
ACCOUNT_PROFILE_URL=http://apps.local.openedx.io:1995/profile
4+
ACCOUNT_SETTINGS_URL=http://apps.local.openedx.io:1997/account
5+
BASE_URL=http://local.openedx.io:8080
6+
CREDENTIALS_BASE_URL=http://credentials.local.openedx.io:8150
77
CSRF_TOKEN_API_PATH=/csrf/api/v1/token
8-
DISCOVERY_API_BASE_URL=http://localhost:8381
9-
PUBLISHER_BASE_URL=http://localhost:8400
10-
ECOMMERCE_BASE_URL=http://localhost:8130
8+
DISCOVERY_API_BASE_URL=http://discovery.local.openedx.io:8381
9+
PUBLISHER_BASE_URL=http://apps.local.openedx.io:8400/publisher
10+
ECOMMERCE_BASE_URL=
1111
LANGUAGE_PREFERENCE_COOKIE_NAME=openedx-language-preference
12-
LEARNING_BASE_URL=http://localhost:2000
13-
LMS_BASE_URL=http://localhost:8000
14-
LOGIN_URL=http://localhost:8000/login
15-
LOGOUT_URL=http://localhost:8000/logout
16-
STUDIO_BASE_URL=http://localhost:8010
17-
MARKETING_SITE_BASE_URL=http://localhost:8000
18-
ORDER_HISTORY_URL=http://localhost:1996/orders
19-
REFRESH_ACCESS_TOKEN_ENDPOINT=http://localhost:8000/login_refresh
12+
LEARNING_BASE_URL=http://apps.local.openedx.io:2000
13+
LMS_BASE_URL=http://local.openedx.io:8000
14+
LOGIN_URL=http://local.openedx.io:8000/login
15+
LOGOUT_URL=http://local.openedx.io:8000/logout
16+
STUDIO_BASE_URL=http://studio.local.openedx.io:8001
17+
MARKETING_SITE_BASE_URL=http://local.openedx.io:8000
18+
ORDER_HISTORY_URL=
19+
REFRESH_ACCESS_TOKEN_ENDPOINT=http://local.openedx.io:8000/login_refresh
2020
SEGMENT_KEY=''
21-
SITE_NAME=localhost
21+
SITE_NAME=local.openedx.io
2222
USER_INFO_COOKIE_NAME=edx-user-info
2323
LOGO_URL=https://edx-cdn.org/v3/default/logo.svg
2424
LOGO_TRADEMARK_URL=https://edx-cdn.org/v3/default/logo-trademark.svg

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Describe what this pull request changes, and why. Include implications for peopl
44

55
**Merge checklist:**
66

7-
- [ ] Consider running your code modifications in the included example app within `frontend-platform`. This can be done by running `npm start` and opening http://localhost:8080.
7+
- [ ] Consider running your code modifications in the included example app within `frontend-platform`. This can be done by running `npm start` and opening http://local.openedx.io:8080.
88
- [ ] Consider testing your code modifications in another local micro-frontend using local aliases configured via [the `module.config.js` file in `frontend-build`](https://github.com/openedx/frontend-build#local-module-configuration-for-webpack).
99
- [ ] Verify your commit title/body conforms to the conventional commits format (e.g., `fix`, `feat`) and is appropriate for your code change. Consider whether your code is a breaking change, and modify your commit accordingly.
1010

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ dependencies based on this new package file. Delete `node_modules`, and run `npm
4141

4242
1. `npm install`
4343
2. `npm start`
44-
3. Open http://localhost:8080 to view the example app.
44+
3. Open http://local.openedx.io:8080 to view the example app.
4545

4646
## Architecture
4747

webpack.dev.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,7 @@ module.exports = createConfig('webpack-dev', {
1414
'@edx/frontend-platform': path.resolve(__dirname, 'src'),
1515
},
1616
},
17+
devServer: {
18+
allowedHosts: ['.local.openedx.io'],
19+
}
1720
});

0 commit comments

Comments
 (0)