|
@@ -30,7 +30,7 @@ const Setting = () => {
|
|
|
}
|
|
|
|
|
|
const renderQrcode = () => {
|
|
|
- const env = window.location.host.includes('content.piaoquantv.com') ? 'prod' : 'test'
|
|
|
+ const env = window.location.host === ('content.piaoquantv.com') ? 'prod' : 'test'
|
|
|
wxLogin({
|
|
|
id: 'code',
|
|
|
appid: CONFIG[env].appid,
|