Add TurnstileCaptcha component and update send API handler
This commit is contained in:
+2
-2
@@ -14,13 +14,13 @@ export default defineConfig((configEnv) => {
|
||||
server: {
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://localhost:3001',
|
||||
target: 'http://127.0.0.1:3002',
|
||||
changeOrigin: true,
|
||||
proxyTimeout: 120000,
|
||||
timeout: 120000,
|
||||
},
|
||||
'/uploads': {
|
||||
target: 'http://localhost:3001',
|
||||
target: 'http://127.0.0.1:3002',
|
||||
changeOrigin: true,
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user