Skip to content

Commit

Permalink
Merge pull request #1816 from czhou578/1710-embedapi
Browse files Browse the repository at this point in the history
Added route for API embed
  • Loading branch information
anth-volk authored May 27, 2024
2 parents d4c4310 + 206d130 commit 0946748
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/PolicyEngine.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import TACPage from "./pages/TermsAndConditions";
import { useAuth0 } from "@auth0/auth0-react";
import { ConfigProvider } from "antd";
import style from "./style";
import { StatusPage } from "./pages/StatusPage";

const PolicyPage = lazy(() => import("./pages/PolicyPage"));
const HouseholdPage = lazy(() => import("./pages/HouseholdPage"));
Expand Down Expand Up @@ -326,6 +327,7 @@ export default function PolicyEngine({ pathname }) {
element={<APIDocumentationPage metadata={metadata} />}
/>
<Route path="/uk/cec" element={<CitizensEconomicCouncil />} />
<Route path="/us/api" element={<StatusPage />} />
<Route
path="/us/trafwa-ctc-calculator"
element={<TrafwaCalculator />}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/StatusPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export function StatusPage() {
title="PolicyEngine API status"
src="https://policyengine.betteruptime.com"
width="1000"
height="800"
height="1000"
></iframe>
<section style={{ display: "flex", marginBottom: 2 }}>
<div style={{ flex: "50", textAlign: "left" }}>
Expand Down

0 comments on commit 0946748

Please sign in to comment.