@@ -1,2 +1,2 @@
VUE_APP_AXIOS_BASE_URL = 'https://www.ilikegou.cn'
-VUE_APP_ROUTER="platlive"
+BASE_URL="umychart"
@@ -1,6 +1,7 @@
.DS_Store
node_modules
/dist
+umychart
# local env files
@@ -0,0 +1,8 @@
+<IfModule mod_rewrite.c>
+ RewriteEngine On
+ RewriteBase /umychart/
+ RewriteRule ^index\.html$ - [L]
+ RewriteCond %{REQUEST_FILENAME} !-f
+ RewriteCond %{REQUEST_FILENAME} !-d
+ RewriteRule . /umychart/index.html [L]
+</IfModule>
@@ -1,4 +1,5 @@
# kline-web
+### https://www.ilikegou.cn/umychart/index.html
## Project setup
```
@@ -75,7 +75,7 @@ export default {
],
commonTrees: [],
form: {
- Script: 'WR1:100*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N));\nWR2:100*(HHV(HIGH,N1)-CLOSE)/(HHV(HIGH,N1)-LLV(LOW,N1));',
+ Script: '',
Args: [],
},
};
@@ -1,6 +1,6 @@
const path = require('path');
module.exports = {
- publicPath: `/`,
+ publicPath: `/${process.env.BASE_URL}`,
// 打包文件
outputDir: 'umychart',
productionSourceMap: false,