diff options
author | Ed Tanous <ed.tanous@intel.com> | 2018-08-29 21:10:47 +0300 |
---|---|---|
committer | Ed Tanous <ed.tanous@intel.com> | 2018-08-29 21:14:43 +0300 |
commit | a38b0b206300c792979b900f506b85e535f5708a (patch) | |
tree | 969429b98ef207b959dd041013d0515f64f285c5 /redfish-core/src | |
parent | 9b243a4ee4e58406df4fecc4f98f7b701cc26f18 (diff) | |
download | bmcweb-a38b0b206300c792979b900f506b85e535f5708a.tar.xz |
Resolve issue with duplicated static files
Resolves: https://github.com/openbmc/bmcweb/issues/5
In certain contexts when using nginx, there are cheats required to add
duplicated files into the filesystem, making nginx beleive it has both
compressed and uncompressed resources. This messes with bmcweb, as it
previously treated this as a fatal error, given that it doesn't have a
filesystem limitation.
This patchset changes the behavior so that bmcweb now treats this as an
ok situation, and only creates the route for the gzipped version, under
the assumption that they are the same.
Change-Id: I5744d651e9764242c5e52eeafb8c4df72b8a81a2
Signed-off-by: Ed Tanous <ed.tanous@intel.com>
Diffstat (limited to 'redfish-core/src')
0 files changed, 0 insertions, 0 deletions