Purpose 3 bulan lalu
induk
melakukan
1a32a4a587
3 mengubah file dengan 5 tambahan dan 5 penghapusan
  1. 1 1
      config/index.js
  2. 1 1
      src/router/index.js
  3. 3 3
      src/utils/Constant.js

+ 1 - 1
config/index.js

@@ -55,7 +55,7 @@ module.exports = {
     // Paths
     assetsRoot: path.resolve(__dirname, '../dist'),
     assetsSubDirectory: 'static',
-    assetsPublicPath: '/',
+    assetsPublicPath: './',
 
     /**
      * Source Maps

+ 1 - 1
src/router/index.js

@@ -5,7 +5,7 @@ import Index from '@@/views/Index'
 Vue.use(Router)
 
 export default new Router({
-  mode: 'history',
+  mode: 'hash',
   routes: [
     {
       path: '/page-in-src',

+ 3 - 3
src/utils/Constant.js

@@ -1,8 +1,8 @@
 export default class Constant {
   static MS_CONFIG = process.env.MS_CONFIG || window.__CONTRACT_CONFIG__ || {
-    'direwolfAdmin': '/a',
-    'moduleContext': '/scm-app',
-    'gatewayRoute': '/scm/scm.contract-bizc'
+    direwolfAdmin: '/a',
+    moduleContext: '/scm-app',
+    gatewayRoute: '/scm/scm.rfid-bizc'
   }
 
   static REQUEST_PREFIX = Constant.MS_CONFIG.gatewayRoute + Constant.MS_CONFIG.direwolfAdmin