updated loclahosr

This commit is contained in:
2025-09-19 13:15:38 +01:00
parent 8b49f0f1e1
commit 41da85620d
3 changed files with 10 additions and 5 deletions

5
.env
View File

@@ -12,3 +12,8 @@ VITE_AGX=http://100.72.72.70:8080/SightingListRear/sightingSummary?mostRecentRef
VITE_AGX_FRONT=http://100.72.72.70:8080/SightingListFront/sightingSummary?mostRecentRef= VITE_AGX_FRONT=http://100.72.72.70:8080/SightingListFront/sightingSummary?mostRecentRef=
VITE_AGX_FRONT_BASE=http://100.72.72.70:8080/ VITE_AGX_FRONT_BASE=http://100.72.72.70:8080/
VITE_LOCAL=http://localhost:8080/SightingListRear/sightingSummary?mostRecentRef=
VITE_LOCAL_FRONT=http://localhost:8080/SightingListFront/sightingSummary?mostRecentRef=
VITE_LOCAL_BASE=http://localhost:8080/

View File

@@ -98,8 +98,8 @@ export default function Header() {
</Link> </Link>
</div> </div>
{/* Right: Texts stacked + icons */} {/* Right: Texts stacked + icons */}
<div className="flex items-center space-x-24"> <div className="flex items-center space-x-24 ">
<div className="flex flex-col leading-tight text-white tabular-nums text-xl"> <div className="flex flex-col leading-tight text-white tabular-nums text-xl text-right">
<h2>Local: {localStr}</h2> <h2>Local: {localStr}</h2>
<h2>UTC: {utcStr}</h2> <h2>UTC: {utcStr}</h2>
</div> </div>

View File

@@ -6,8 +6,8 @@ import { SightingFeedProvider } from "../context/providers/SightingFeedProvider"
const Dashboard = () => { const Dashboard = () => {
// const AGX_url = import.meta.env.VITE_AGX_BOX_URL; // const AGX_url = import.meta.env.VITE_AGX_BOX_URL;
// const AGX_rear_url = import.meta.env.VITE_AGX_BOX_REAR_UR; // const AGX_rear_url = import.meta.env.VITE_AGX_BOX_REAR_UR;
const test = import.meta.env.VITE_AGX; const test = import.meta.env.VITE_LOCAL;
const testFront = import.meta.env.VITE_AGX_FRONT; const testFront = import.meta.env.VITE_LOCAL_FRONT;
return ( return (
<div className="mx-auto grid grid-cols-1 sm:grid-cols-1 lg:grid-cols-2 gap-2 px-1 sm:px-2 lg:px-0 w-full"> <div className="mx-auto grid grid-cols-1 sm:grid-cols-1 lg:grid-cols-2 gap-2 px-1 sm:px-2 lg:px-0 w-full">
<SightingFeedProvider url={testFront} side="Front"> <SightingFeedProvider url={testFront} side="Front">