mirror of
https://github.com/ragestudio/linebridge.git
synced 2025-06-09 18:44:17 +00:00
use global
This commit is contained in:
parent
af8d3943d9
commit
50c1dfad6d
@ -3,7 +3,7 @@ const axios = require('axios')
|
|||||||
const { websocket } = require('corenode/net')
|
const { websocket } = require('corenode/net')
|
||||||
|
|
||||||
//* constables
|
//* constables
|
||||||
const NETHUB_HOSTNAME = IS_DEV ? `http://localhost:1010` : `https://nethub.ragestudio.net`
|
const NETHUB_HOSTNAME = global.nethubOrigin ?? `https://nethub.ragestudio.net`
|
||||||
const nethubRequest = axios.create({
|
const nethubRequest = axios.create({
|
||||||
baseURL: NETHUB_HOSTNAME
|
baseURL: NETHUB_HOSTNAME
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user