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