Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit d177bcd

Browse files
committed
Change to 'Content-Security-Policy'
1 parent 0824510 commit d177bcd

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed
+8-8
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"imports": {
3-
"@topcoder/micro-frontends-navbar-app": "http://local.topcoder-dev.com:3001/navbar/topcoder-micro-frontends-navbar-app.js",
4-
"@topcoder/micro-frontends-react-app": "http://local.topcoder-dev.com:8500/react/topcoder-micro-frontends-react-app.js",
5-
"@topcoder/micro-frontends-angular-app": "http://local.topcoder-dev.com:4200/angular/main.js",
6-
"@topcoder/micro-frontends-teams": "http://local.topcoder-dev.com:8501/taas-app/topcoder-micro-frontends-teams.js",
7-
"@topcoder/micro-frontends-task-marketplace-app": "http://local.topcoder-dev.com:8502/tasks/topcoder-micro-frontends-task-marketplace-app.js",
8-
"@topcoder/micro-frontends-earn-app": "http://local.topcoder-dev.com:8008/earn/topcoder-micro-frontends-earn-app.js",
9-
"@topcoder/micro-frontends-submission-review-app": "http://local.topcoder-dev.com:8503/submissionreview/topcoder-micro-frontends-submission-review-app.js",
10-
"@topcoder/micro-frontends-model-app": "http://local.topcoder-dev.com:8504/model-app/topcoder-micro-frontends-model-app.js"
3+
"@topcoder/micro-frontends-navbar-app": "http://localhost:3001/navbar/topcoder-micro-frontends-navbar-app.js",
4+
"@topcoder/micro-frontends-react-app": "http://localhost:8500/react/topcoder-micro-frontends-react-app.js",
5+
"@topcoder/micro-frontends-angular-app": "http://localhost:4200/angular/main.js",
6+
"@topcoder/micro-frontends-teams": "http://localhost:8501/taas-app/topcoder-micro-frontends-teams.js",
7+
"@topcoder/micro-frontends-task-marketplace-app": "http://localhost:8502/tasks/topcoder-micro-frontends-task-marketplace-app.js",
8+
"@topcoder/micro-frontends-earn-app": "http://localhost:8008/earn/topcoder-micro-frontends-earn-app.js",
9+
"@topcoder/micro-frontends-submission-review-app": "http://localhost:8503/submissionreview/topcoder-micro-frontends-submission-review-app.js",
10+
"@topcoder/micro-frontends-model-app": "http://localhost:8504/model-app/topcoder-micro-frontends-model-app.js"
1111
}
1212
}

src/index.ejs

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
Learn more about CSP policies at https://content-security-policy.com/#directive
2121
-->
2222
<!-- <meta http-equiv="Content-Security-Policy" content="default-src 'self' https: localhost:*; script-src 'unsafe-inline' https: localhost:*; connect-src https: localhost:* ws://localhost:*; style-src 'unsafe-inline' https:; object-src 'none';"> -->
23-
<meta http-equiv="Content-Security-Policy" content="default-src * data: blob: 'unsafe-inline' 'unsafe-eval'; script-src * 'unsafe-inline' 'unsafe-eval'; connect-src * 'unsafe-inline'; img-src * data: blob: 'unsafe-inline'; frame-src *; style-src * data: blob: 'unsafe-inline'; font-src * data: blob: 'unsafe-inline';">
23+
<meta http-equiv="Content-Security-Policy" content="default-src * data: blob: 'unsafe-inline' 'unsafe-eval'; script-src * 'unsafe-inline' 'unsafe-eval'; connect-src * 'unsafe-inline'; img-src * data: blob: 'unsafe-inline'; frame-src *; style-src * data: blob: 'unsafe-inline'; font-src * data: blob: 'unsafe-inline'; worker-src 'self' blob:">
2424
<meta name="importmap-type" content="systemjs-importmap" />
2525
<!-- If you wish to turn off import-map-overrides for specific environments (prod), uncomment the line below -->
2626
<!-- More info at https://github.com/joeldenning/import-map-overrides/blob/master/docs/configuration.md#domain-list -->

0 commit comments

Comments
 (0)