@@ -65,7 +65,7 @@ app.use(hotMiddleware)
// serve pure static assets
var staticPath = path.posix.join(config.dev.assetsPublicPath, config.dev.assetsSubDirectory)
-app.use(staticPath, express.static('./mshop'))
+app.use(staticPath, express.static('./static'))
var uri = 'http://localhost:' + port
@@ -23,7 +23,7 @@ module.exports = {
},
dev: {
env: require('./dev.env'),
- port: 8080,
+ port: 3333,
autoOpenBrowser: false,
assetsSubDirectory: 'mshop',
assetsPublicPath: '/',
@@ -1,8 +1,8 @@
class Api {
static host() {
- return "http://p.lrlz.com";
- //return "http://192.168.0.200";
+ //return "http://p.lrlz.com";
+ return "http://192.168.0.200";
}
static special(special_id) {
@@ -98,7 +98,7 @@ const scrollBehavior = (to, from, savedPosition) => {
const router = new VueRouter({
routes,
scrollBehavior,
- mode: 'history',
+ mode: 'hash'
});
router.beforeEach(function (to, from, next) {