summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app
diff options
context:
space:
mode:
authorTao Shen <shentao@chinamobile.com>2019-09-10 08:15:25 +0000
committerGerrit Code Review <gerrit@onap.org>2019-09-10 08:15:25 +0000
commit01a1e0a88b982e485a68c911a483c3643594ed10 (patch)
tree939028bc6f2d1529c3e4a7a3fe44ee2731d350fa /usecaseui-portal/src/app
parent11513d8eb65642758ee8dd794342b2f65daae482 (diff)
parent84cbc5952d84789ca612602794c37b7205c83ac1 (diff)
Merge "feat: modify local request method"
Diffstat (limited to 'usecaseui-portal/src/app')
-rw-r--r--usecaseui-portal/src/app/mock/server.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/usecaseui-portal/src/app/mock/server.js b/usecaseui-portal/src/app/mock/server.js
index f0c46fb3..726992d5 100644
--- a/usecaseui-portal/src/app/mock/server.js
+++ b/usecaseui-portal/src/app/mock/server.js
@@ -21,6 +21,10 @@ const customersRouters = require('./routes');
// Set default middlewares (logger, static, cors and no-cache)
server.use(middlewares);
+server.use((requset,response,next) => {
+ requset.method = 'GET';
+ next()
+})
// Get mock data
const fs = require('fs');