Skip to content

Commit

Permalink
lxd: Add canonical.com domain to UI content security policy
Browse files Browse the repository at this point in the history
So the UI can load data from images.lxd.canonical.com.

Signed-off-by: Thomas Parrott <[email protected]>
  • Loading branch information
tomponline committed Apr 9, 2024
1 parent 47567e1 commit 4905bf3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1361,6 +1361,8 @@ parts:
git config user.email "[email protected]"
git config user.name "LXD snap builder"
git cherry-pick -x ddfdeb3bfcd38e39121487180903a4316d1ba66b # UI: Add canonical.com domain to content security policy, so the ui can load data from images.lxd.canonical.com
# Setup build environment
export GOPATH="$(realpath ./.go)"
export CGO_CFLAGS="-I${CRAFT_STAGE}/include/ -I${CRAFT_STAGE}/usr/local/include/"
Expand Down

0 comments on commit 4905bf3

Please sign in to comment.