From 00ec811df6c8dd3cb183a24416c7311dd40073a0 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Thu, 13 Aug 2020 22:50:07 +0200 Subject: [PATCH] =?UTF-8?q?Remove=20stray=20file=20=E2=80=9Cconfiguration.?= =?UTF-8?q?js=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- configuration.js | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 configuration.js diff --git a/configuration.js b/configuration.js deleted file mode 100644 index 48a415d..0000000 --- a/configuration.js +++ /dev/null @@ -1,37 +0,0 @@ -import angular from "angular"; - -export default angular - .module("webui.services.configuration", []) - .constant("$name", "Aria2 WebUI") - .constant("$titlePattern", "active: {active} - waiting: {waiting} - stopped: {stopped} — {name}") - .constant("$pageSize", 11) - .constant("$authconf", { - host: location.hostname, - path: "/jsonrpc", - port: location.protocol === 'https:' ? 443 : 80, - encrypt: location.protocol === 'https:', - directURL: "/download/" - }) - .constant("$enable", { - torrent: true, - metalink: true, - sidebar: { - show: true, - stats: true, - filters: true, - starredProps: true - } - }) - .constant("$starredProps", [ - "max-overall-download-limit", - "max-overall-upload-limit" - ]) - .constant("$downloadProps", [ - "header", - "http-user", - "http-passwd", - "pause", - "dir", - "max-connection-per-server" - ]) - .constant("$globalTimeout", 1000).name;