no longer expire saved logs after a week (#400)
This commit is contained in:
parent
fc9043c1ba
commit
f44df025ca
|
@ -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
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue