Skip to content

Commit

Permalink
Updated configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Tzahi12345 committed Jan 23, 2018
1 parent dd62f1a commit 4be6f34
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 26 deletions.
19 changes: 0 additions & 19 deletions backend/config/default.default

This file was deleted.

15 changes: 8 additions & 7 deletions backend/config/default.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
{
"YoutubeDLMaterial": {
"Host": {
"frontendurl": "http://localhost:4200",
"backendurl": "https://youtubedl.grynsztein.com/"
"frontendurl": "http://example.com",
"backendurl": "http://example.com:17442/"
},
"Encryption": {
"use-encryption": false,
"cert-file-path": "cert.pem",
"key-file-path": "privkey.pem"
"cert-file-path": "/etc/letsencrypt/live/example.com/fullchain.pem",
"key-file-path": "/etc/letsencrypt/live/example.com/privkey.pem"
},
"Downloader": {
"path-base": "http://localhost:8088/",
"path-base": "http://example.com:17442/",
"path-audio": "audio/",
"path-video": "video/"
},
"Extra": {
"title_top": "Youtube Downloader"
"title_top": "Youtube Downloader",
"file_manager_enabled": true
}
}
}
}
22 changes: 22 additions & 0 deletions backend/config/encrypted.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"YoutubeDLMaterial": {
"Host": {
"frontendurl": "https://example.com",
"backendurl": "https://example.com:17442/"
},
"Encryption": {
"use-encryption": true,
"cert-file-path": "/etc/letsencrypt/live/example.com/fullchain.pem",
"key-file-path": "/etc/letsencrypt/live/example.com/privkey.pem"
},
"Downloader": {
"path-base": "https://example.com:17442/",
"path-audio": "audio/",
"path-video": "video/"
},
"Extra": {
"title_top": "Youtube Downloader",
"file_manager_enabled": true
}
}
}

0 comments on commit 4be6f34

Please sign in to comment.