Skip to content

Commit 8ce07d4

Browse files
committed
try fix build bug
Signed-off-by: SeeuSim <[email protected]>
1 parent e447e76 commit 8ce07d4

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,6 @@
8282
"tailwindcss": "^3.4.11",
8383
"typescript": "^5.5.3",
8484
"typescript-eslint": "^8.0.1",
85-
"vite": "^5.4.1"
85+
"vite": "^5.4.10"
8686
}
8787
}

frontend/tsconfig.node.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"noEmit": true,
1414

1515
/* Linting */
16-
"strict": true,
16+
"strict": false,
1717
"noUnusedLocals": true,
1818
"noUnusedParameters": true,
1919
"noFallthroughCasesInSwitch": true

frontend/vite.config.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,39 +23,39 @@ export default defineConfig(({ mode }) => {
2323
proxy: {
2424
'/user-service': {
2525
target: env.VITE_USER_SERVICE,
26-
rewrite: (path: string) => path?.replace && path.replace(/^\/user-service/, ''),
26+
rewrite: (path) => path?.replace && path.replace(/^\/user-service/, ''),
2727
changeOrigin: true,
2828
cookiePathRewrite: {
2929
'*': '/',
3030
},
3131
},
3232
'/question-service': {
3333
target: env.VITE_QUESTION_SERVICE,
34-
rewrite: (path: string) => path?.replace && path.replace(/^\/question-service/, ''),
34+
rewrite: (path) => path?.replace && path.replace(/^\/question-service/, ''),
3535
changeOrigin: true,
3636
cookiePathRewrite: {
3737
'*': '/',
3838
},
3939
},
4040
'/collaboration-service': {
4141
target: env.VITE_COLLAB_SERVICE,
42-
rewrite: (path: string) => path?.replace && path.replace(/^\/collaboration-service/, ''),
42+
rewrite: (path) => path?.replace && path.replace(/^\/collaboration-service/, ''),
4343
changeOrigin: true,
4444
cookiePathRewrite: {
4545
'*': '/',
4646
},
4747
},
4848
'/matching-service': {
4949
target: env.VITE_MATCHING_SERVICE,
50-
rewrite: (path: string) => path?.replace && path.replace(/^\/matching-service/, ''),
50+
rewrite: (path) => path?.replace && path.replace(/^\/matching-service/, ''),
5151
changeOrigin: true,
5252
cookiePathRewrite: {
5353
'*': '/',
5454
},
5555
},
5656
'/collab-ws': {
5757
target: `${env.VITE_COLLAB_SERVICE.replace('http', 'ws')}`,
58-
rewrite: (path: string) => path?.replace && path.replace(/\/collab-ws/, ''),
58+
rewrite: (path) => path?.replace && path.replace(/\/collab-ws/, ''),
5959
ws: true,
6060
},
6161
'/matching-socket/': {

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)