Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7cd31e2b69 | ||
|
|
2268afc807 | ||
|
|
7366cddac8 | ||
|
|
166c610977 | ||
|
|
f24cdbed96 | ||
|
|
31ff20f9d5 |
@@ -1 +1,2 @@
|
|||||||
process.env.TARO_API_API="https://api.nomadcna.com"
|
process.env.TARO_API_API="https://api.hackrobot.cn"
|
||||||
|
# process.env.TARO_API_API="http://127.0.0.1:8700"
|
||||||
|
|||||||
6
Caddyfile
Normal file
6
Caddyfile
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
:9046 {
|
||||||
|
root * /home/eric/nomadyt/dist
|
||||||
|
encode gzip zstd
|
||||||
|
try_files {path} /index.html
|
||||||
|
file_server
|
||||||
|
}
|
||||||
@@ -3,7 +3,7 @@ module.exports = {
|
|||||||
NODE_ENV: '"production"'
|
NODE_ENV: '"production"'
|
||||||
},
|
},
|
||||||
defineConstants: {
|
defineConstants: {
|
||||||
'process.env.TARO_API_API': JSON.stringify("https://web.hackrobot.cn")
|
'process.env.TARO_API_API': JSON.stringify("https://api.hackrobot.cn")
|
||||||
},
|
},
|
||||||
mini: {},
|
mini: {},
|
||||||
h5: {
|
h5: {
|
||||||
|
|||||||
@@ -214,7 +214,8 @@ const Book = () => {
|
|||||||
//98元
|
//98元
|
||||||
payh5("book", 9800);
|
payh5("book", 9800);
|
||||||
} else {
|
} else {
|
||||||
window.location.href = `https://mp.weixin.qq.com/s/16xcMIgxEEGBPY7fanNq0g`;
|
// window.location.href = `https://mp.weixin.qq.com/s/16xcMIgxEEGBPY7fanNq0g`;
|
||||||
|
window.alert('请在手机微信打开')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
|
|||||||
@@ -401,7 +401,7 @@ const Index = () => {
|
|||||||
</View>
|
</View>
|
||||||
<View className="cardItem_right">
|
<View className="cardItem_right">
|
||||||
<View className="cardItem_rightUp">持续更新</View>
|
<View className="cardItem_rightUp">持续更新</View>
|
||||||
<View className="cardItem_rightDown">在线电子书-免费</View>
|
<View className="cardItem_rightDown">在线电子书</View>
|
||||||
</View>
|
</View>
|
||||||
</View>
|
</View>
|
||||||
<View className="cardItem">
|
<View className="cardItem">
|
||||||
|
|||||||
Reference in New Issue
Block a user