Skip to content

Commit

Permalink
add config fields
Browse files Browse the repository at this point in the history
  • Loading branch information
is2ac2 committed Jun 3, 2024
1 parent 5a73fd9 commit ca37d7d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 11 deletions.
22 changes: 11 additions & 11 deletions frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ const App = () => {
<AuthenticationProvider>
<AlertQueueProvider>
<AlertQueue>
<TopNavbar />
<OneTimePasswordWrapper>
<TopNavbar />

<Container className="content">
<OneTimePasswordWrapper>
<Container className="content">
<Routes>
<Route path="/" element={<Home />} />
<Route path="/robots/" element={<Robots />} />
Expand All @@ -34,15 +34,15 @@ const App = () => {
<Route path="/404" element={<NotFound />} />
<Route path="*" element={<NotFoundRedirect />} />
</Routes>
</OneTimePasswordWrapper>
</Container>
</Container>

<footer className="fixed-bottom">
{/* Solid background */}
<div className="text-center bg-body-tertiary p-2">
<a href="mailto:[email protected]">[email protected]</a>
</div>
</footer>
<footer className="fixed-bottom">
{/* Solid background */}
<div className="text-center bg-body-tertiary p-2">
<a href="mailto:[email protected]">[email protected]</a>
</div>
</footer>
</OneTimePasswordWrapper>
</AlertQueue>
</AlertQueueProvider>
</AuthenticationProvider>
Expand Down
5 changes: 5 additions & 0 deletions store/settings/configs/local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,8 @@ crypto:
site:
homepage: http://localhost:3000
api: http://localhost:8080
email:
host: ${oc.env:ROBOLIST_SMTP_HOST}
email: ${oc.env:ROBOLIST_SMTP_EMAIL}
password: ${oc.env:ROBOLIST_SMTP_PASSWORD}
name: ${oc.env:ROBOLIST_SMTP_NAME}

0 comments on commit ca37d7d

Please sign in to comment.