From 2c1ecca08470af4db11d22985756ad8dc5f85549 Mon Sep 17 00:00:00 2001 From: rlyra8 Date: Mon, 15 Jan 2024 15:52:19 -0300 Subject: [PATCH 1/2] Change server IP --- front_end/src/components/ModelPg/DetailedInfo/index.tsx | 2 +- front_end/src/data-access/archiver/archiver.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/front_end/src/components/ModelPg/DetailedInfo/index.tsx b/front_end/src/components/ModelPg/DetailedInfo/index.tsx index 2b358aa..19c2377 100644 --- a/front_end/src/components/ModelPg/DetailedInfo/index.tsx +++ b/front_end/src/components/ModelPg/DetailedInfo/index.tsx @@ -59,7 +59,7 @@ const DetailedInfo: React.FC = (props) => { * with Archiver Viewer. */ function archViewerLink(): void { - let url_arch_view: string = "https://ais-eng-srv-la.cnpem.br/archiver-viewer/?" + let url_arch_view: string = "https://ais-eng-srv-ta.cnpem.br/archiver-viewer/?" if(chartRefGN.current && chartRefI.current){ const date_interval: Date[] = chartRefGN.current.getDates(); diff --git a/front_end/src/data-access/archiver/archiver.ts b/front_end/src/data-access/archiver/archiver.ts index 780a7fc..d19abc7 100644 --- a/front_end/src/data-access/archiver/archiver.ts +++ b/front_end/src/data-access/archiver/archiver.ts @@ -2,7 +2,7 @@ import axios from 'axios'; import { ArchiverData, ArchiverDataPoint, DataAccess } from '../../assets/interfaces/access-data'; export const ipRegExp = /https?\/((?:(?:2(?:[0-4][0-9]|5[0-5])|[0-1]?[0-9]?[0-9])\.){3}(?:(?:2([0-4][0-9]|5[0-5])|[0-1]?[0-9]?[0-9])))\//; -export const defaultHost = "ais-eng-srv-la.cnpem.br"; +export const defaultHost = "ais-eng-srv-ta.cnpem.br"; /** From c29f441287a709ea2751642850117465a1c8ba52 Mon Sep 17 00:00:00 2001 From: rlyra8 Date: Mon, 15 Jan 2024 15:55:52 -0300 Subject: [PATCH 2/2] Update version --- front_end/package.json | 2 +- front_end/src/assets/constants.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/front_end/package.json b/front_end/package.json index e8cab3c..3bba7cf 100644 --- a/front_end/package.json +++ b/front_end/package.json @@ -1,6 +1,6 @@ { "name": "rad-detectors", - "version": "1.2.4", + "version": "1.2.5", "homepage": "https://rad-mon.lnls.br", "private": true, "dependencies": { diff --git a/front_end/src/assets/constants.ts b/front_end/src/assets/constants.ts index 7147591..57442c1 100644 --- a/front_end/src/assets/constants.ts +++ b/front_end/src/assets/constants.ts @@ -2,7 +2,7 @@ import { DDictStr, DictEnumStr, DictNum, DictStr } from "./interfaces/patterns" // const git_version = GitInfo() -const version: string = "v1.2.4"//+git_version.commit.shortHash + " / " + git_version.commit.date; +const version: string = "v1.2.5"//+git_version.commit.shortHash + " / " + git_version.commit.date; // Integrated dose limits parameters const led_limits: DictNum = {