diff --git a/scripts/start.js b/scripts/start.js index bfb291f3..b8c2aec7 100644 --- a/scripts/start.js +++ b/scripts/start.js @@ -1,9 +1,9 @@ // Do this as the first thing so that any code reading it knows the right env. process.env.BABEL_ENV = "development" process.env.NODE_ENV = "development" -process.env.BASE_URL = "http://pre.marketapi.1688sup.com" -process.env.UNIFIED_API = "http://api.gray.user.1688sup.com/v1" -process.env.UNIFIED_URL = "http://gray.user.1688sup.com/#/login" +process.env.BASE_URL = "http://test.marketapi.1688sup.com" +process.env.UNIFIED_API = "http://api.test.user.1688sup.com/v1" +process.env.UNIFIED_URL = "http://test.user.1688sup.com/#/login" // Makes the script crash on unhandled rejections instead of silently // ignoring them. In the future, promise rejections that are not handled will diff --git a/src/components/subnav/main.js b/src/components/subnav/main.js index 86df35a9..38b7d696 100644 --- a/src/components/subnav/main.js +++ b/src/components/subnav/main.js @@ -186,7 +186,7 @@ export default class topNav extends React.Component {