mirror of
https://github.com/648540858/wvp-GB28181-pro.git
synced 2026-05-06 15:22:55 +08:00
@@ -97,6 +97,10 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
|
||||
defaultExcludes.add("/api/emit");
|
||||
defaultExcludes.add("/favicon.ico");
|
||||
defaultExcludes.add("/api/user/login");
|
||||
|
||||
defaultExcludes.add("/api/admin/login");
|
||||
defaultExcludes.add("/api/admin/login/logs");
|
||||
|
||||
defaultExcludes.add("/index/hook/**");
|
||||
defaultExcludes.add("/api/device/query/snap/**");
|
||||
defaultExcludes.add("/index/hook/abl/**");
|
||||
|
||||
@@ -41,7 +41,7 @@ module.exports = {
|
||||
proxy: {
|
||||
// change xxx-api/login => /login
|
||||
[process.env.VUE_APP_BASE_API]: {
|
||||
target: `http://localhost:1400/`,
|
||||
target: `http://localhost:18080/`,
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
['^' + process.env.VUE_APP_BASE_API]: ''
|
||||
|
||||
Reference in New Issue
Block a user