Remove stray file “configuration.js”
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
7b7ddc37b9
commit
00ec811df6
|
@ -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;
|
|
Reference in a new issue