Commit 05f478a8 by 肖康

url

parent 303ff297
Showing with 1 additions and 5 deletions
const os = require('os'); const os = require('os');
import { useRouter } from 'next/router' import { useRouter } from 'next/router'
export const QQURL='https://wpa.qq.com/msgrd?v=3&uin=1908059998&site=qq&menu=yes' export const QQURL='https://wpa.qq.com/msgrd?v=3&uin=1908059998&site=qq&menu=yes'
export const API_URL=(os.hostname()=="MS-NDPSTQVAWPAX"||os.hostname()=="MS-dev235")?'http://erpweb.liexindev.net':'http://api.chiplinks.net' export const API_URL=(os.hostname()=="MS-NDPSTQVAWPAX"||os.hostname()=="dev235")?'http://erpweb.liexindev.net':'http://api.chiplinks.net'
console.log(os.hostname())
//export const API_URL='http://erpwebback.com'
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment