diff --git a/.gitignore b/.gitignore
index 0d1a7d3..63a355a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,10 +1,9 @@
node_modules
data
-custom/*.js
+custom/*
public/dist/*.js
public/dist/*.map
public/dist/index.html
config.js
*.sublime-workspace
-npm-debug.log
-/custom/images/logo.png
\ No newline at end of file
+npm-debug.log
\ No newline at end of file
diff --git a/config.defaults.js b/config.defaults.js
index 08e4962..5aa5b7c 100644
--- a/config.defaults.js
+++ b/config.defaults.js
@@ -36,21 +36,28 @@ module.exports = {
alphabet: '1234567890abcdef',
length: 8,
+ defaultExpiration: null,
maxExpiration: null
/*
-
To set a maximum expiration of 7 days:
maxExpiration: {
units: ExpirationUnits.Days,
value: 7
}
+
+ defaultExpiration follows the same format
*/
},
+ // How often codes and uploads are checked for expiration and deleted
+ cleanupInterval: 300,
+
notifications: {
+ // How often the notification queue is flushed, in seconds
interval: 10,
+
maxAttempt: 12,
adminUrl: 'http://localhost:3001/admin/',
diff --git a/emails/uploadnotification/html.ejs b/emails/uploadnotification/html.ejs
index 897d53c..7711bf7 100644
--- a/emails/uploadnotification/html.ejs
+++ b/emails/uploadnotification/html.ejs
@@ -29,5 +29,8 @@ function humanFileSize(bytes, si)
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/public/src/route/Upload.vue b/public/src/route/Upload.vue
index a81c5a4..aaec57f 100644
--- a/public/src/route/Upload.vue
+++ b/public/src/route/Upload.vue
@@ -1,10 +1,19 @@