diff options
author | Chocobozzz <me@florianbigard.com> | 2018-03-21 10:20:47 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-03-21 10:20:47 +0100 |
commit | c263f3b425354cb0114d8fc22b8c4a96c3865c0b (patch) | |
tree | 23b22015e697cd3197894e957232979dde0df298 | |
parent | a30ce9bf2391815dfc0107ea072b1d3116aec905 (diff) | |
download | PeerTube-c263f3b425354cb0114d8fc22b8c4a96c3865c0b.tar.gz PeerTube-c263f3b425354cb0114d8fc22b8c4a96c3865c0b.tar.zst PeerTube-c263f3b425354cb0114d8fc22b8c4a96c3865c0b.zip |
Update FAQ
-rw-r--r-- | .github/CONTRIBUTING.md | 2 | ||||
-rw-r--r-- | FAQ.md | 6 | ||||
-rw-r--r-- | client/src/app/app.component.ts | 2 |
3 files changed, 3 insertions, 7 deletions
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 3d90b70b9..c9988bfea 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md | |||
@@ -45,7 +45,7 @@ to install the dependencies. | |||
45 | Then clone the sources and install node modules: | 45 | Then clone the sources and install node modules: |
46 | 46 | ||
47 | ``` | 47 | ``` |
48 | $ git clone -b master https://github.com/Chocobozzz/PeerTube | 48 | $ git clone https://github.com/Chocobozzz/PeerTube |
49 | $ cd PeerTube | 49 | $ cd PeerTube |
50 | $ yarn install --pure-lockfile | 50 | $ yarn install --pure-lockfile |
51 | ``` | 51 | ``` |
@@ -51,11 +51,7 @@ WEBM, MP4 or OGV videos. | |||
51 | 51 | ||
52 | ## I want to change my host, how can I do that? | 52 | ## I want to change my host, how can I do that? |
53 | 53 | ||
54 | If you already have followers, you can't. | 54 | You can't. You'll need to re install an instance and reupload your videos. |
55 | |||
56 | If you don't have any followers, update your configuration and run | ||
57 | `NODE_ENV=production npm run update-host` to update the torrent files (they contain your domain name). | ||
58 | |||
59 | 55 | ||
60 | ## Should I have a big server to run PeerTube? | 56 | ## Should I have a big server to run PeerTube? |
61 | 57 | ||
diff --git a/client/src/app/app.component.ts b/client/src/app/app.component.ts index b9f7be48c..0ea3c1389 100644 --- a/client/src/app/app.component.ts +++ b/client/src/app/app.component.ts | |||
@@ -87,7 +87,7 @@ export class AppComponent implements OnInit { | |||
87 | .subscribe(() => { | 87 | .subscribe(() => { |
88 | const config = this.serverService.getConfig() | 88 | const config = this.serverService.getConfig() |
89 | 89 | ||
90 | // We test customCSS in case or the admin removed the css | 90 | // We test customCSS if the admin removed the css |
91 | if (this.customCSS || config.instance.customizations.css) { | 91 | if (this.customCSS || config.instance.customizations.css) { |
92 | const styleTag = '<style>' + config.instance.customizations.css + '</style>' | 92 | const styleTag = '<style>' + config.instance.customizations.css + '</style>' |
93 | this.customCSS = this.domSanitizer.bypassSecurityTrustHtml(styleTag) | 93 | this.customCSS = this.domSanitizer.bypassSecurityTrustHtml(styleTag) |