mirror of
https://github.com/ragestudio/comty.js.git
synced 2025-06-09 02:24:18 +00:00
fix for nodejs
This commit is contained in:
parent
359aa7a389
commit
baba6965a5
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "comty.js",
|
"name": "comty.js",
|
||||||
"version": "0.65.2",
|
"version": "0.65.3",
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"description": "Official Comty API for JavaScript",
|
"description": "Official Comty API for JavaScript",
|
||||||
"homepage": "https://github.com/ragestudio/comty.js",
|
"homepage": "https://github.com/ragestudio/comty.js",
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
const envOrigins = {
|
const envOrigins = {
|
||||||
development: `${location.origin}/api`,
|
development: location ? `${location.origin}/api` : "http://localhost:9000",
|
||||||
indev: "https://indev.comty.app/api",
|
indev: "https://indev.comty.app/api",
|
||||||
production: "https://api.comty.app",
|
production: "https://api.comty.app",
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user