mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
commit error
This commit is contained in:
@@ -22,7 +22,7 @@ export interface Environment {
|
|||||||
dispatchPR: string
|
dispatchPR: string
|
||||||
storageProduction: boolean
|
storageProduction: boolean
|
||||||
rejectUnauthorized: string
|
rejectUnauthorized: string
|
||||||
|
fileHub: string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ import { HttpClient, HttpHeaders, HttpEventType } from '@angular/common/http';
|
|||||||
import { CMAPIService } from '../shared/repository/CMAPI/cmapi.service';
|
import { CMAPIService } from '../shared/repository/CMAPI/cmapi.service';
|
||||||
import { HubConnectionBuilder } from '@microsoft/signalr';
|
import { HubConnectionBuilder } from '@microsoft/signalr';
|
||||||
import { ok, err as Err, Result } from 'neverthrow';
|
import { ok, err as Err, Result } from 'neverthrow';
|
||||||
|
import { environment } from 'src/environments/environment';
|
||||||
@Injectable({
|
@Injectable({
|
||||||
providedIn: 'root'
|
providedIn: 'root'
|
||||||
})
|
})
|
||||||
@@ -90,7 +91,7 @@ class ReconnectingWebSocketSignalR {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.connection = new signalR.HubConnectionBuilder()
|
this.connection = new signalR.HubConnectionBuilder()
|
||||||
.withUrl('https://gdcmapi-dev.dyndns.info/FileHub', {
|
.withUrl( environment.fileHub, {
|
||||||
transport: signalR.HttpTransportType.LongPolling,
|
transport: signalR.HttpTransportType.LongPolling,
|
||||||
accessTokenFactory: () => SessionStore.user.Authorization
|
accessTokenFactory: () => SessionStore.user.Authorization
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -26,7 +26,8 @@ export const environment: Environment = {
|
|||||||
dispatchPR: 'Despachos Presidênciais',
|
dispatchPR: 'Despachos Presidênciais',
|
||||||
sentryUrl: 'https://9920cc36f1d740b987426ee8d80cf588@o4504340905525248.ingest.sentry.io/4504340946419712',
|
sentryUrl: 'https://9920cc36f1d740b987426ee8d80cf588@o4504340905525248.ingest.sentry.io/4504340946419712',
|
||||||
storageProduction: true,
|
storageProduction: true,
|
||||||
rejectUnauthorized: "true"
|
rejectUnauthorized: "true",
|
||||||
|
fileHub: 'https://gdcmapi-dev.dyndns.info/FileHub'
|
||||||
/* production: true,
|
/* production: true,
|
||||||
domain: 'gabinetedigital.local',
|
domain: 'gabinetedigital.local',
|
||||||
defaultuser: '',
|
defaultuser: '',
|
||||||
@@ -87,5 +88,6 @@ export const DevDev: Environment = {
|
|||||||
PR: 'Titular',
|
PR: 'Titular',
|
||||||
VP: '',
|
VP: '',
|
||||||
dispatchPR: 'Despachos Titular',
|
dispatchPR: 'Despachos Titular',
|
||||||
storageProduction: false, */
|
storageProduction: false, */,
|
||||||
|
fileHub: 'https://gdcmapi-dev.dyndns.info/FileHub'
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -28,7 +28,8 @@ export const environment: Environment = {
|
|||||||
VP: '',
|
VP: '',
|
||||||
dispatchPR: 'Despachos Titular',
|
dispatchPR: 'Despachos Titular',
|
||||||
storageProduction: true,
|
storageProduction: true,
|
||||||
rejectUnauthorized: "true"
|
rejectUnauthorized: "true",
|
||||||
|
fileHub: 'https://gdcmapi-dev.dyndns.info/FileHub'
|
||||||
};
|
};
|
||||||
|
|
||||||
export const doneITDev: Environment = {
|
export const doneITDev: Environment = {
|
||||||
@@ -58,5 +59,6 @@ export const doneITDev: Environment = {
|
|||||||
VP: '',
|
VP: '',
|
||||||
dispatchPR: 'Despachos Titular',
|
dispatchPR: 'Despachos Titular',
|
||||||
storageProduction: false,
|
storageProduction: false,
|
||||||
rejectUnauthorized: "true"
|
rejectUnauthorized: "true",
|
||||||
|
fileHub: 'https://gdcmapi-dev.dyndns.info/FileHub'
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -28,7 +28,8 @@ export const environment: Environment = {
|
|||||||
dispatchPR: 'Despachos Presidênciais',
|
dispatchPR: 'Despachos Presidênciais',
|
||||||
sentryUrl: 'https://9920cc36f1d740b987426ee8d80cf588@o4504340905525248.ingest.sentry.io/4504340946419712',
|
sentryUrl: 'https://9920cc36f1d740b987426ee8d80cf588@o4504340905525248.ingest.sentry.io/4504340946419712',
|
||||||
storageProduction: true,
|
storageProduction: true,
|
||||||
rejectUnauthorized: "false"
|
rejectUnauthorized: "false",
|
||||||
|
fileHub: 'https://gdqas-cmapi.oapr.gov.ao/FileHub'
|
||||||
};
|
};
|
||||||
|
|
||||||
export const oaprDev: Environment = {
|
export const oaprDev: Environment = {
|
||||||
@@ -57,5 +58,6 @@ export const oaprDev: Environment = {
|
|||||||
dispatchPR: 'Despachos Presidênciais',
|
dispatchPR: 'Despachos Presidênciais',
|
||||||
sentryUrl: 'https://9920cc36f1d740b987426ee8d80cf588@o4504340905525248.ingest.sentry.io/4504340946419712',
|
sentryUrl: 'https://9920cc36f1d740b987426ee8d80cf588@o4504340905525248.ingest.sentry.io/4504340946419712',
|
||||||
storageProduction: false,
|
storageProduction: false,
|
||||||
rejectUnauthorized: "false"
|
rejectUnauthorized: "false",
|
||||||
|
fileHub: 'https://gdqas-cmapi.oapr.gov.ao/FileHub'
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user