diff options
| -rw-r--r-- | server/lib/core/state/character_state.dart | 2 | ||||
| -rw-r--r-- | server/lib/net/app.dart | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/server/lib/core/state/character_state.dart b/server/lib/core/state/character_state.dart index 848bc1c..d8a6393 100644 --- a/server/lib/core/state/character_state.dart +++ b/server/lib/core/state/character_state.dart @@ -218,7 +218,7 @@ class CharacterState extends FigureState { String toSave() { return '{' - '"level": ${level}, ' + '"level": $level, ' '"useFHPerks": ${jsonEncode(useFHPerks)}, ' '"display": ${jsonEncode(display)}, ' '"perkList": ${_perkList.toString()} ' diff --git a/server/lib/net/app.dart b/server/lib/net/app.dart index a57aab0..1d66c49 100644 --- a/server/lib/net/app.dart +++ b/server/lib/net/app.dart @@ -26,7 +26,7 @@ const int _kCacheYearSeconds = 60 * 60 * 24 * 365; /// data, images, in-game translations, and the content-hashed build /// outputs. Browsers keep them for a year and never revalidate. const String _kImmutableCacheControl = - 'public, max-age=${_kCacheYearSeconds}, immutable'; + 'public, max-age=$_kCacheYearSeconds, immutable'; /// `Cache-Control` for the SPA entry point: always revalidate, so a /// rebuilt app reaches open tabs on the next navigation. |
