stanley-king пре 8 година
родитељ
комит
58f10e2f5e
5 измењених фајлова са 5 додато и 5 уклоњено
  1. 1 1
      build/dev-server.js
  2. 1 1
      config/index.js
  3. 2 2
      src/lib/api.js
  4. 1 1
      src/main.js
  5. 0 0
      static/.gitkeep

+ 1 - 1
build/dev-server.js

@@ -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
 

+ 1 - 1
config/index.js

@@ -23,7 +23,7 @@ module.exports = {
   },
   dev: {
     env: require('./dev.env'),
-    port: 8080,
+    port: 3333,
     autoOpenBrowser: false,
     assetsSubDirectory: 'mshop',
     assetsPublicPath: '/',

+ 2 - 2
src/lib/api.js

@@ -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) {

+ 1 - 1
src/main.js

@@ -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) {

+ 0 - 0
static/.gitkeep