aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-03-21 10:20:47 +0100
committerChocobozzz <me@florianbigard.com>2018-03-21 10:20:47 +0100
commitc263f3b425354cb0114d8fc22b8c4a96c3865c0b (patch)
tree23b22015e697cd3197894e957232979dde0df298
parenta30ce9bf2391815dfc0107ea072b1d3116aec905 (diff)
downloadPeerTube-c263f3b425354cb0114d8fc22b8c4a96c3865c0b.tar.gz
PeerTube-c263f3b425354cb0114d8fc22b8c4a96c3865c0b.tar.zst
PeerTube-c263f3b425354cb0114d8fc22b8c4a96c3865c0b.zip
Update FAQ
-rw-r--r--.github/CONTRIBUTING.md2
-rw-r--r--FAQ.md6
-rw-r--r--client/src/app/app.component.ts2
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.
45Then clone the sources and install node modules: 45Then 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```
diff --git a/FAQ.md b/FAQ.md
index fb3969a04..0113b7c47 100644
--- a/FAQ.md
+++ b/FAQ.md
@@ -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
54If you already have followers, you can't. 54You can't. You'll need to re install an instance and reupload your videos.
55
56If 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)