aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-08-07 10:07:53 +0200
committerChocobozzz <me@florianbigard.com>2018-08-08 09:30:31 +0200
commita84b8fa5cf6e4cafb841af3db9bdfcc9531c09a4 (patch)
treecf2feafcfadb5b6e9784c86d67e692db8d599b7d /shared/models
parent990b6a0b0c4fbebc165e5cf7cec8fbc1cbaa6c66 (diff)
downloadPeerTube-a84b8fa5cf6e4cafb841af3db9bdfcc9531c09a4.tar.gz
PeerTube-a84b8fa5cf6e4cafb841af3db9bdfcc9531c09a4.tar.zst
PeerTube-a84b8fa5cf6e4cafb841af3db9bdfcc9531c09a4.zip
Add import.video.torrent configuration
Diffstat (limited to 'shared/models')
-rw-r--r--shared/models/server/custom-config.model.ts3
-rw-r--r--shared/models/server/server-config.model.ts3
2 files changed, 6 insertions, 0 deletions
diff --git a/shared/models/server/custom-config.model.ts b/shared/models/server/custom-config.model.ts
index 46320435d..d70c757b6 100644
--- a/shared/models/server/custom-config.model.ts
+++ b/shared/models/server/custom-config.model.ts
@@ -60,6 +60,9 @@ export interface CustomConfig {
60 videos: { 60 videos: {
61 http: { 61 http: {
62 enabled: boolean 62 enabled: boolean
63 },
64 torrent: {
65 enabled: boolean
63 } 66 }
64 } 67 }
65 } 68 }
diff --git a/shared/models/server/server-config.model.ts b/shared/models/server/server-config.model.ts
index 2cafedbbc..8cb087234 100644
--- a/shared/models/server/server-config.model.ts
+++ b/shared/models/server/server-config.model.ts
@@ -28,6 +28,9 @@ export interface ServerConfig {
28 http: { 28 http: {
29 enabled: boolean 29 enabled: boolean
30 } 30 }
31 torrent: {
32 enabled: boolean
33 }
31 } 34 }
32 } 35 }
33 36