website/docs: update nginx config

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-05-20 22:06:55 +02:00
parent 7666c246c3
commit b3390f0ab4
4 changed files with 12 additions and 8 deletions

View File

@ -46,7 +46,7 @@ export class PlexSourceForm extends ModelForm<PlexSource, string> {
}
send = (data: PlexSource): Promise<PlexSource> => {
data.plexToken = this.plexToken;
data.plexToken = this.plexToken || "";
if (this.instance?.slug) {
return new SourcesApi(DEFAULT_CONFIG).sourcesPlexUpdate({
slug: this.instance.slug,