Skip to content

Commit

Permalink
z
Browse files Browse the repository at this point in the history
  • Loading branch information
CharmingCheol committed Feb 6, 2022
1 parent 2e011ad commit b1fd791
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@ const Routes = () => {
<Route path="/writing/:id" component={Writing} />
<PrivateRoute
component={Login}
path={process.env.REACT_APP_LOGIN_PAGE as string}
encrypted={encrypt(process.env.REACT_APP_LOGIN_PAGE as string)}
path={process.env.REACT_APP_LOGIN_PAGE}
encrypted={encrypt(process.env.REACT_APP_LOGIN_PAGE as any)}
exact
/>
<PrivateRoute
component={Write}
path={process.env.REACT_APP_WRITE_PAGE as string}
encrypted={encrypt(process.env.REACT_APP_WRITE_PAGE as string)}
path={process.env.REACT_APP_WRITE_PAGE}
encrypted={encrypt(process.env.REACT_APP_WRITE_PAGE as any)}
exact
/>
<Route component={NotFound} />
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ module.exports = () => {
],
},
plugins: [
new Dotenv(),
new Dotenv({ systemvars: true }),
new webpack.HotModuleReplacementPlugin(),
new ReactRefreshWebpackPlugin(),
new CopyPlugin({
Expand Down

0 comments on commit b1fd791

Please sign in to comment.