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

feat: add profile mfe config #28

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
feat: add profile mfe config
  • Loading branch information
rakibansary committed Sep 29, 2021
commit a80ca8baa56b6cf2ee9f67f6dc8d0c545f653050
3 changes: 2 additions & 1 deletion config/micro-frontends-config-local.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"@topcoder/micro-frontends-earn-app": "http://localhost:8008/earn-app/topcoder-micro-frontends-earn-app.js",
"@topcoder/micro-frontends-submission-review-app": "https://platform.topcoder-dev.com/submissionreview/topcoder-micro-frontends-submission-review-app.js",
"@topcoder/micro-frontends-model-app": "https://platform.topcoder-dev.com/model-app/topcoder-micro-frontends-model-app.js",
"@topcoder/micro-frontends-community-admin-app": "https://tc-micro-community-admin.herokuapp.com/community-admin-app/topcoder-micro-frontends-community-admin-app.js"
"@topcoder/micro-frontends-community-admin-app": "https://tc-micro-community-admin.herokuapp.com/community-admin-app/topcoder-micro-frontends-community-admin-app.js",
"@topcoder/micro-frontends-profile-app": "http://localhost:8009/profile-app/topcoder-micro-frontends-profile-app.js"
}
}
3 changes: 3 additions & 0 deletions config/micro-frontends-routes-local.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
<route path="community-admin">
<application name="@topcoder/micro-frontends-community-admin-app"></application>
</route>
<route path="profile">
<application name="@topcoder/micro-frontends-profile-app"></application>
</route>
<route path="unauthorized">
<div style="text-align: center; padding-top: 200px; font-size: 32px;">
You are unauthorized
Expand Down