diff options
author | Ed Tanous <ed@tanous.net> | 2024-04-21 02:36:00 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2024-04-26 08:09:46 +0300 |
commit | 511650a90260e0922bfeb1091b4babc597d36af6 (patch) | |
tree | 5295a081eb0d0d13382a2b7c5f8b07dab9e76097 /package.json | |
parent | 740cbd525fa619e6a4190ec08c80f45ae72435eb (diff) | |
download | webui-vue-511650a90260e0922bfeb1091b4babc597d36af6.tar.xz |
Allow the favicon to be cached
The favicon is currently loaded directly by url. This commit changes it
to be loaded by file-loader. Note, the default vue webpack file loader
doesn't support ico file types (because it seems to expect to use a png
here), so add that to the file loader config.
This allows bmcweb [1] to provide caching headers for the favicon, and
avoid downloading a new favicon on every refresh.
Tested: Webui-vue loads, favicon in the network panel loads properly.
[1] https://gerrit.openbmc.org/c/openbmc/bmcweb/+/70644
Change-Id: I27e5b459ff8822294ac9273220111e9944e8d1e5
Signed-off-by: Ed Tanous <ed@tanous.net>
Diffstat (limited to 'package.json')
0 files changed, 0 insertions, 0 deletions