mirror of https://github.com/rancher/dashboard.git
Merge pull request #8796 from codyrancher/favicon
Changing how we serve the favicon
This commit is contained in:
commit
12d2ed1906
|
|
@ -5,7 +5,7 @@
|
|||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<link rel="shortcut icon" type="image/x-icon" href="/public/favicon.png">
|
||||
<link rel="shortcut icon" type="image/x-icon" href="/favicon.png">
|
||||
<title>Rancher</title>
|
||||
</head>
|
||||
|
||||
|
|
|
|||
|
|
@ -408,8 +408,8 @@ module.exports = function(dir, _appConfig) {
|
|||
}),
|
||||
}));
|
||||
|
||||
// The static assets need to be in the built public folder in order to get served (primarily the favicon for now)
|
||||
config.plugins.push(new CopyWebpackPlugin([{ from: path.join(SHELL_ABS, 'static'), to: 'public' }]));
|
||||
// The static assets need to be in the built assets directory in order to get served (primarily the favicon)
|
||||
config.plugins.push(new CopyWebpackPlugin([{ from: path.join(SHELL_ABS, 'static'), to: '.' }]));
|
||||
|
||||
config.resolve.extensions.push(...['.tsx', '.ts', '.js', '.vue', '.scss']);
|
||||
config.watchOptions = config.watchOptions || {};
|
||||
|
|
|
|||
Loading…
Reference in New Issue