mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-20 08:33:11 +00:00
feat: add backend toggle
This commit is contained in:
@@ -18,6 +18,7 @@ import {SCSearchQuery, SCSearchResponse, SCThingOriginType, SCThings, SCThingTyp
|
||||
import {SCSaveableThing} from '@openstapps/core';
|
||||
import {StorageProvider} from '../storage/storage.provider';
|
||||
import {StAppsWebHttpClient} from './stapps-web-http-client.provider';
|
||||
import {environment} from './../../../environments/environment';
|
||||
|
||||
export enum DataScope {
|
||||
Local = 'local',
|
||||
@@ -45,7 +46,7 @@ export class DataProvider {
|
||||
/**
|
||||
* TODO
|
||||
*/
|
||||
backendUrl = 'http://localhost:3000';
|
||||
backendUrl = environment.backend_url;
|
||||
/**
|
||||
* TODO
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user