summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Vinson <nvinson234@gmail.com>2020-10-24 08:23:45 -0400
committerRasmus Thomsen <oss@cogitri.dev>2021-02-19 09:31:23 +0100
commitb4dbc737c83541ef8a0e2f2b20b12da15e0f1394 (patch)
treee6a875109957ce83469221af719e65a1532ff3f8
parent45498135fe44665658cc10f296bbb34e40232036 (diff)
downloadwgetpaste-b4dbc737c83541ef8a0e2f2b20b12da15e0f1394.tar.gz
Add size limit for ix_io.
Service owner states in https://github.com/rupa/sprunge/issues/46 that the size limit for both ix.io and sprunge.us is "roughly a meg". As "meg" appears to mean 1 MiB, the size is set at 1 million bytes (1 MB).
-rwxr-xr-xwgetpaste1
1 files changed, 1 insertions, 0 deletions
diff --git a/wgetpaste b/wgetpaste
index a6f2264..bb7bd68 100755
--- a/wgetpaste
+++ b/wgetpaste
@@ -63,6 +63,7 @@ URL_gists="https://api.github.com/gists"
# ix_io
ENGINE_ix_io=ix_io
URL_ix_io="http://ix.io"
+SIZE_ix_io="1000000 1%MB"
# tinyurl
ENGINE_tinyurl=tinyurl
URL_tinyurl="http://tinyurl.com/ api-create.php"