Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c711d8b

Browse files
committedDec 9, 2020
Integrating earns app
1 parent cb6bb8e commit c711d8b

File tree

4 files changed

+13
-7
lines changed

4 files changed

+13
-7
lines changed
 

‎config/development.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"@topcoder/micro-frontends-react-app": "https://mfe.topcoder-dev.com/react/topcoder-micro-frontends-react-app.js",
55
"@topcoder/micro-frontends-angular-app": "https://mfe.topcoder-dev.com/angular/main.js",
66
"@topcoder/micro-frontends-teams": "https://mfe.topcoder-dev.com/taas-app/topcoder-micro-frontends-teams.js",
7-
"@topcoder/micro-frontends-task-marketplace": "https://mfe.topcoder-dev.com/tasks/topcoder-micro-frontends-task-marketplace-app.js"
7+
"@topcoder/micro-frontends-task-marketplace": "https://mfe.topcoder-dev.com/tasks/topcoder-micro-frontends-task-marketplace-app.js",
8+
"@topcoder/micro-frontends-earn-app": "http://mfe.topcoder-dev.com//earn/topcoder-micro-frontends-earn-app.js"
89
}
9-
}
10+
}

‎config/local.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
{
22
"imports": {
3-
"@topcoder/micro-frontends-navbar-app": "http://local.topcoder-dev.com:8080/topcoder-micro-frontends-navbar-app.js",
3+
"@topcoder/micro-frontends-navbar-app": "http://local.topcoder-dev.com:8080/navbar/topcoder-micro-frontends-navbar-app.js",
44
"@topcoder/micro-frontends-react-app": "http://local.topcoder-dev.com:8500/topcoder-micro-frontends-react-app.js",
55
"@topcoder/micro-frontends-angular-app": "http://local.topcoder-dev.com:4200/main.js",
66
"@topcoder/micro-frontends-teams": "http://local.topcoder-dev.com:8501/taas-app/topcoder-micro-frontends-teams.js",
7-
"@topcoder/micro-frontends-task-marketplace": "http://local.topcoder-dev.com:8502/topcoder-micro-frontends-task-marketplace-app.js"
7+
"@topcoder/micro-frontends-task-marketplace": "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"
89
}
9-
}
10+
}

‎config/production.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"@topcoder/micro-frontends-react-app": "https://mfe.topcoder.com/react/topcoder-micro-frontends-react-app.js",
55
"@topcoder/micro-frontends-angular-app": "https://mfe.topcoder.com/angular/main.js",
66
"@topcoder/micro-frontends-teams": "https://mfe.topcoder.com/taas-app/topcoder-micro-frontends-teams.js",
7-
"@topcoder/micro-frontends-task-marketplace": "https://mfe.topcoder.com/topcoder-micro-frontends-task-marketplace-app.js"
7+
"@topcoder/micro-frontends-task-marketplace": "https://mfe.topcoder.com/tasks/topcoder-micro-frontends-task-marketplace-app.js",
8+
"@topcoder/micro-frontends-earn-app": "http://mfe.topcoder.com/earn/topcoder-micro-frontends-earn-app.js"
89
}
9-
}
10+
}

‎src/index.ejs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@
9191
<route path="task-marketplace">
9292
<application name="@topcoder/micro-frontends-task-marketplace"></application>
9393
</route>
94+
<route path="earn">
95+
<application name="@topcoder/micro-frontends-earn-app"></application>
96+
</route>
9497
<route path="unauthorized">
9598
<div style="text-align: center; padding-top: 200px; font-size: 32px;">
9699
You are unauthorized

0 commit comments

Comments
 (0)
This repository has been archived.