summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-11-26 17:02:54 -0500
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-11-26 17:02:54 -0500
commitf44df025cab4c2b70bf07c6d8407c8cc465b57cb (patch)
tree456d2720ff178aa8f26482d7f9f32feb5ac04fd0
parentfc9043c1ba80bc7d593ca9f00659b866d99e2251 (diff)
downloadSMAPI-f44df025cab4c2b70bf07c6d8407c8cc465b57cb.tar.gz
SMAPI-f44df025cab4c2b70bf07c6d8407c8cc465b57cb.tar.bz2
SMAPI-f44df025cab4c2b70bf07c6d8407c8cc465b57cb.zip
no longer expire saved logs after a week (#400)
-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();