summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/release-notes.md1
-rw-r--r--src/SMAPI.Web/Framework/LogParser/PastebinClient.cs2
2 files changed, 2 insertions, 1 deletions
diff --git a/docs/release-notes.md b/docs/release-notes.md
index d2014b51..b60dad9d 100644
--- a/docs/release-notes.md
+++ b/docs/release-notes.md
@@ -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
diff --git a/src/SMAPI.Web/Framework/LogParser/PastebinClient.cs b/src/SMAPI.Web/Framework/LogParser/PastebinClient.cs
index 738330d3..60441234 100644
--- a/src/SMAPI.Web/Framework/LogParser/PastebinClient.cs
+++ b/src/SMAPI.Web/Framework/LogParser/PastebinClient.cs
@@ -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();