no longer expire saved logs after a week (#400)

This commit is contained in:
Jesse Plamondon-Willard 2017-11-26 17:02:54 -05:00
parent fc9043c1ba
commit f44df025ca
2 changed files with 2 additions and 1 deletions

View File

@ -11,6 +11,7 @@
* Fixed input `e.SuppressButton()` method not working with mouse buttons.
* For log.smapi.io:
* Saved logs no longer expire after a week.
* The upload-log modal can now be closed by pressing `ESC` or clicking outside it.
## 2.1

View File

@ -85,7 +85,7 @@ namespace StardewModdingAPI.Web.Framework.LogParser
["api_dev_key"] = this.DevKey,
["api_paste_private"] = "1", // unlisted
["api_paste_name"] = $"SMAPI log {DateTime.UtcNow:s}",
["api_paste_expire_date"] = "1W", // one week
["api_paste_expire_date"] = "N", // never expire
["api_paste_code"] = content
}))
.AsString();