Browse Source

测试WEB前端

guq 6 years ago
parent
commit
eac7743d4a

+ 1 - 1
frontend/wechat-web/package.json

@@ -40,7 +40,7 @@
     "not ie <= 11",
     "not op_mini all"
   ],
-  "homepage": "",
+  "homepage": "/smart-school",
   "devDependencies": {
     "babel-plugin-import": "^1.10.0",
     "circular-json": "^0.5.9",

+ 1 - 1
frontend/wechat-web/runtime/nginx/default.conf

@@ -4,7 +4,7 @@ server {
 
     charset utf-8;
 
-    location / {
+    location /smart-school {
         root   /usr/share/nginx/html;
         index  index.html index.htm;
     }