Skip to content

Commit

Permalink
Fix nextcloud settings for endpoint without trailing / (yang991178#525)
Browse files Browse the repository at this point in the history
  • Loading branch information
quilicicf committed Nov 22, 2023
1 parent 9fd12a9 commit 174994c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/settings/services/nextcloud.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class NextcloudConfigsTab extends React.Component<
} else {
configs = {
type: SyncService.Nextcloud,
endpoint: this.state.endpoint + "index.php/apps/news/api/v1-3",
endpoint: this.state.endpoint.replace(/\/$/, "") + "/index.php/apps/news/api/v1-3",
username: this.state.username,
password: this.state.password,
fetchLimit: this.state.fetchLimit,
Expand Down

0 comments on commit 174994c

Please sign in to comment.