Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcin Nowak-Liebiediew committed Nov 3, 2023
1 parent e71a0cc commit 9ce00ab
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/canisters/frontend/ic-asset/src/asset/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -248,16 +248,13 @@ impl AssetConfig {
(_, Maybe::Null) => self.headers = None,
(_, Maybe::Absent) => (),
};

if other.ignore.is_some() {
self.ignore = other.ignore;
}

if other.enable_aliasing.is_some() {
self.enable_aliasing = other.enable_aliasing;
}

if other.allow_raw_access.is_some() {
if self.allow_raw_access.is_none() && other.allow_raw_access.is_some() {
self.allow_raw_access = other.allow_raw_access;
}
self
Expand Down

0 comments on commit 9ce00ab

Please sign in to comment.