Skip to content

Commit

Permalink
Allow 'solid' as a value for backendType
Browse files Browse the repository at this point in the history
  • Loading branch information
michielbdejong committed Dec 11, 2024
1 parent 04c5720 commit 5f168a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/remotestorage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ export class RemoteStorage {

const backendType = localStorage.getItem('remotestorage:backend');

if (backendType === 'dropbox' || backendType === 'googledrive') {
if (backendType === 'dropbox' || backendType === 'googledrive' || backendType === 'solid') {
this.setBackend(backendType);
} else {
this.setBackend('remotestorage');
Expand Down Expand Up @@ -681,7 +681,7 @@ export class RemoteStorage {
/**
* @internal
*/
setBackend (backendType: 'remotestorage' | 'dropbox' | 'googledrive'): void {
setBackend (backendType: 'remotestorage' | 'dropbox' | 'googledrive' | 'solid'): void {
this.backend = backendType;

if (hasLocalStorage) {
Expand Down

0 comments on commit 5f168a8

Please sign in to comment.