updated loclahosr
This commit is contained in:
5
.env
5
.env
@@ -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_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/
|
||||
@@ -99,7 +99,7 @@ export default function Header() {
|
||||
</div>
|
||||
{/* Right: Texts stacked + icons */}
|
||||
<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>UTC: {utcStr}</h2>
|
||||
</div>
|
||||
|
||||
@@ -6,8 +6,8 @@ import { SightingFeedProvider } from "../context/providers/SightingFeedProvider"
|
||||
const Dashboard = () => {
|
||||
// const AGX_url = import.meta.env.VITE_AGX_BOX_URL;
|
||||
// const AGX_rear_url = import.meta.env.VITE_AGX_BOX_REAR_UR;
|
||||
const test = import.meta.env.VITE_AGX;
|
||||
const testFront = import.meta.env.VITE_AGX_FRONT;
|
||||
const test = import.meta.env.VITE_LOCAL;
|
||||
const testFront = import.meta.env.VITE_LOCAL_FRONT;
|
||||
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">
|
||||
<SightingFeedProvider url={testFront} side="Front">
|
||||
|
||||
Reference in New Issue
Block a user