diff --git a/config.js.example b/config.js.example index b0185cd..456708f 100644 --- a/config.js.example +++ b/config.js.example @@ -1,3 +1,4 @@ upload.config.server = '' // Empty if the webapp is in the same place as the server // upload.config.server = 'https://yourserver.com/' // If the webapp is separated from the server - remember the trailing slash upload.config.api_key = 'c61540b5ceecd05092799f936e27755f' // Should be the same as the server, used for uploading +upload.config.contact_link = 'mailto:someemail@email' \ No newline at end of file diff --git a/index.html b/index.html index a8f9fae..f75a52c 100644 --- a/index.html +++ b/index.html @@ -370,7 +370,7 @@ diff --git a/static/js/download.js b/static/js/download.js index a8ce163..55d5a57 100644 --- a/static/js/download.js +++ b/static/js/download.js @@ -16,9 +16,6 @@ upload.modules.addmodule({ >View In BrowserDelete\ \ - \ \ ', init: function () { diff --git a/static/js/main.js b/static/js/main.js index a80d722..8b1747f 100644 --- a/static/js/main.js +++ b/static/js/main.js @@ -19,6 +19,13 @@ upload.modules = { } } +upload.modules.addmodule({ + name: 'contactlink', + init: function() { + $('#contact').prop('href', upload.config.contact_link) + } +}) + upload.modules.addmodule({ name: 'route', init: function () {