fix: caching of assets (correct headers and versioned avatar and variables.css url) (#4118)

* fix: caching of assets (correct headers and versioned avatar url)

* serve variables.css versioned and extend shared max age of assets

* fix TestCommandSide_AddHumanAvatar

* refactor: const types

* refactor: return values

Co-authored-by: Fabi <[email protected]>
Co-authored-by: adlerhurst <[email protected]>
This commit is contained in:
Livio Spring
2022-08-16 05:04:36 +00:00
committed by GitHub
co-authored by Fabi adlerhurst
parent 0c6b47a081
commit dcac08b1d5
12 changed files with 96 additions and 66 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ func TestCommandSide_AddHumanAvatar(t *testing.T) {
eventFromEventPusher(
user.NewHumanAvatarAddedEvent(context.Background(),
&user.NewAggregate("user1", "org1").Aggregate,
"avatar",
"avatar?v=test",
),
),
},