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

Commit b256556

Browse files
committed
Auth service
1 parent 85b3245 commit b256556

2 files changed

Lines changed: 13 additions & 4 deletions

File tree

src/index.ejs

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@
4646
"@profcomff/services-webapp": "http://localhost:9003/js/app.js",
4747
"@profcomff/devtools-webapp": "http://localhost:9005/js/app.js",
4848
"@profcomff/local": "http://localhost:8080/js/app.js",
49-
"@profcomff/toolbar-element": "http://localhost:9004/js/app.js"
49+
"@profcomff/toolbar-element": "http://localhost:9004/js/app.js",
50+
"@profcomff/auth": "http://localhost:9006/js/app.js"
5051
}
5152
}
5253
<% } %>
@@ -61,7 +62,8 @@
6162
"@profcomff/timetable-webapp": "https://timetable.ui.test.profcomff.com/js/app.js",
6263
"@profcomff/services-webapp": "https://services.ui.test.profcomff.com/js/app.js",
6364
"@profcomff/devtools-webapp": "https://devtools.ui.test.profcomff.com/js/app.js",
64-
"@profcomff/toolbar-element": "https://toolbar.ui.test.profcomff.com/js/app.js"
65+
"@profcomff/toolbar-element": "https://toolbar.ui.test.profcomff.com/js/app.js",
66+
"@profcomff/auth-webapp": "https://auth.ui.test.profcomff.com/js/app.js"
6567
}
6668
}
6769
<% } %>
@@ -76,7 +78,8 @@
7678
"@profcomff/timetable-webapp": "https://timetable.ui.profcomff.com/js/app.js",
7779
"@profcomff/services-webapp": "https://services.ui.profcomff.com/js/app.js",
7880
"@profcomff/devtools-webapp": "https://devtools.ui.profcomff.com/js/app.js",
79-
"@profcomff/toolbar-element": "https://toolbar.ui.test.profcomff.com/js/app.js"
81+
"@profcomff/toolbar-element": "https://toolbar.ui.profcomff.com/js/app.js",
82+
"@profcomff/auth-webapp": "https://auth.ui.profcomff.com/js/app.js"
8083
}
8184
}
8285
<% } %>
@@ -130,7 +133,7 @@
130133
</head>
131134
<body>
132135
<noscript> You need to enable JavaScript to run this app. </noscript>
133-
<script>
136+
<script defer>
134137
System.firstGlobalProp = true;
135138
System.set(System.resolve('vue'), window.Vue);
136139
System.set(System.resolve('vue-router'), window.VueRouter);

src/microfrontend-layout.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@
1616
<route path="/devtools">
1717
<application name="@profcomff/devtools-webapp"></application>
1818
</route>
19+
<route path="/auth">
20+
<application name="@profcomff/auth-webapp"></application>
21+
</route>
22+
<route path="/user">
23+
<application name="@profcomff/auth-webapp"></application>
24+
</route>
1925
<route path="/local">
2026
<application name="@profcomff/local"></application>
2127
</route>

0 commit comments

Comments
 (0)