Commit c7437c6
authored
fix(ic-certified-assets): set the
# Description
Sets the `ic_env` cookie for all HTML files only if the canister environment changed in the `commit_batch` method.
The feature was first introduced in #4387.
# How Has This Been Tested?
Successfully deployed the [dfinity/portal](https://github.com/dfinity/portal) locally.ic_env cookie only if the canister environment changed (#4446)1 parent 9d53322 commit c7437c6
File tree
3 files changed
+14
-1
lines changed- src
- canisters/frontend/ic-certified-assets/src/state_machine
- distributed
3 files changed
+14
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
5 | 12 | | |
6 | 13 | | |
7 | 14 | | |
| |||
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
732 | 732 | | |
733 | 733 | | |
734 | 734 | | |
| 735 | + | |
735 | 736 | | |
736 | 737 | | |
737 | 738 | | |
| |||
753 | 754 | | |
754 | 755 | | |
755 | 756 | | |
756 | | - | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
757 | 763 | | |
758 | 764 | | |
759 | 765 | | |
| |||
Binary file not shown.
0 commit comments