Skip to content

Commit

Permalink
fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
Neverous committed Oct 13, 2024
1 parent 9b19785 commit f046df7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion website/src/Routing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ export const Routing = () => {
<Routes>
<Route path="/" element={<CreateSecret />} />
<Route path="/upload" element={<Upload />} />
{oneClickLink && <Route path="/:format/:key/:password" element={<DisplaySecret />} />}
{oneClickLink && (
<Route path="/:format/:key/:password" element={<DisplaySecret />} />
)}
<Route path="/:format/:key" element={<DisplaySecret />} />
</Routes>
);
Expand Down
6 changes: 4 additions & 2 deletions website/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@ export default defineConfig(() => {
REACT_APP_FALLBACK_LANGUAGE: process.env.REACT_APP_FALLBACK_LANGUAGE,
START_SERVER_AND_TEST_INSECURE:
process.env.START_SERVER_AND_TEST_INSECURE,
YOPASS_DISABLE_FEATURES_CARDS: process.env.YOPASS_DISABLE_FEATURES_CARDS,
YOPASS_DISABLE_ONE_CLICK_LINK: process.env.YOPASS_DISABLE_ONE_CLICK_LINK,
YOPASS_DISABLE_FEATURES_CARDS:
process.env.YOPASS_DISABLE_FEATURES_CARDS,
YOPASS_DISABLE_ONE_CLICK_LINK:
process.env.YOPASS_DISABLE_ONE_CLICK_LINK,
},
},
server: {
Expand Down

0 comments on commit f046df7

Please sign in to comment.