Skip to content

Commit

Permalink
fix: svg and checkpw
Browse files Browse the repository at this point in the history
  • Loading branch information
minpeter committed Oct 16, 2023
1 parent 13379e5 commit 581f111
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
/node_modules
/.pnp
.pnp.js
.swc

# testing
/coverage
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"dependencies": {
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@swc/plugin-emotion": "^2.5.92",
"@types/react": "^18.2.28",
"@types/react-dom": "^18.2.13",
"axios": "^1.5.1",
Expand Down
7 changes: 7 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/pages/checkpw/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const CheckPasswordPage: React.FC = () => {
} else {
try {
const res = await axios.get(
`${import.meta.env.VITE_APP_BACKEND_BASEURL}/check/${checkfileid}?pw=${password}`,
`${import.meta.env.VITE_APP_BACKEND_BASEURL}/checkpw/${checkfileid}?pw=${password}`,
);
SetDownloadFileProps({
isEncrypted: true,
Expand Down
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export default defineConfig({
svgr(),
react({
jsxImportSource: '@emotion/react',
plugins: [['@swc/plugin-emotion', {}]],
}),
],
build: {
Expand Down

0 comments on commit 581f111

Please sign in to comment.