fix for nodejs

This commit is contained in:
SrGooglo 2025-05-12 02:12:51 +00:00
parent 359aa7a389
commit baba6965a5
2 changed files with 2 additions and 2 deletions

View File

@ -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",

View File

@ -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",
} }