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

Fixed HTML Title from "Topcoder Micro Frame" #21

Merged
merged 5 commits into from
Aug 13, 2021
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
2 changes: 1 addition & 1 deletion config/micro-frontends-routes-local.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@
</route>
<route default>
<div style="text-align: center; padding-top: 200px; font-size: 32px;">
Welcome to Topcoder Micro Frontends
Welcome to the Topcoder Platform. Get started by opening an app in the tool switcher on top right corner.
</div>
</route>
Binary file added src/images/cropped-TC-Icon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion src/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Topcoder Micro Frame</title>
<title>Topcoder.com</title>

<link rel="icon" href="/cropped-TC-Icon-32x32.png" />
<link rel="stylesheet" href="/global.css">

<!--
Expand Down
21 changes: 14 additions & 7 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ module.exports = (webpackConfigEnv) => {
historyApiFallback: true,
hot: true,
inline: true,
host: 'local.topcoder-dev.com',
host: "local.topcoder-dev.com",
port: 8080,
proxy: {
'*': {
target: 'http://local.topcoder-dev.com:3000/',
secure: false
}
}
"*": {
target: "http://local.topcoder-dev.com:3000/",
secure: false,
},
},
},
plugins: [
new HtmlWebpackPlugin({
Expand All @@ -39,7 +39,14 @@ module.exports = (webpackConfigEnv) => {
}),
new CopyWebpackPlugin({
patterns: [
{ from: "src/reuse", to: "./" }
{
from: "src/reuse",
to: "./",
},
{
from: "src/images",
to: "./",
},
],
}),
],
Expand Down