1
0
Fork 0

Update FAQ

This commit is contained in:
Chocobozzz 2018-03-21 10:20:47 +01:00
parent a30ce9bf23
commit c263f3b425
No known key found for this signature in database
GPG key ID: 583A612D890159BE
3 changed files with 3 additions and 7 deletions

View file

@ -45,7 +45,7 @@ to install the dependencies.
Then clone the sources and install node modules: Then clone the sources and install node modules:
``` ```
$ git clone -b master https://github.com/Chocobozzz/PeerTube $ git clone https://github.com/Chocobozzz/PeerTube
$ cd PeerTube $ cd PeerTube
$ yarn install --pure-lockfile $ yarn install --pure-lockfile
``` ```

6
FAQ.md
View file

@ -51,11 +51,7 @@ WEBM, MP4 or OGV videos.
## I want to change my host, how can I do that? ## I want to change my host, how can I do that?
If you already have followers, you can't. You can't. You'll need to re install an instance and reupload your videos.
If you don't have any followers, update your configuration and run
`NODE_ENV=production npm run update-host` to update the torrent files (they contain your domain name).
## Should I have a big server to run PeerTube? ## Should I have a big server to run PeerTube?

View file

@ -87,7 +87,7 @@ export class AppComponent implements OnInit {
.subscribe(() => { .subscribe(() => {
const config = this.serverService.getConfig() const config = this.serverService.getConfig()
// We test customCSS in case or the admin removed the css // We test customCSS if the admin removed the css
if (this.customCSS || config.instance.customizations.css) { if (this.customCSS || config.instance.customizations.css) {
const styleTag = '<style>' + config.instance.customizations.css + '</style>' const styleTag = '<style>' + config.instance.customizations.css + '</style>'
this.customCSS = this.domSanitizer.bypassSecurityTrustHtml(styleTag) this.customCSS = this.domSanitizer.bypassSecurityTrustHtml(styleTag)