Added a proxy to the vite.config.js
This commit is contained in:
parent
a3d1aabc60
commit
cede39105a
@ -8,5 +8,10 @@ export default defineConfig({
|
|||||||
alias: {
|
alias: {
|
||||||
'@': path.resolve(__dirname, './src')
|
'@': path.resolve(__dirname, './src')
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
server: {
|
||||||
|
proxy: {
|
||||||
|
"/api": "http://localhost:7182/"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
Reference in New Issue
Block a user