feat: copus share prod

This commit is contained in:
john 2024-07-02 21:24:04 +08:00
parent b65275e06d
commit 33b192de96

View File

@ -1,10 +1,10 @@
import { app } from "../../scripts/app.js"; import { app } from "../../scripts/app.js";
import { $el, ComfyDialog } from "../../scripts/ui.js"; import { $el, ComfyDialog } from "../../scripts/ui.js";
const env = "dev"; const env = "prod";
let DEFAULT_HOMEPAGE_URL = "https://copus.io"; let DEFAULT_HOMEPAGE_URL = "https://copus.io";
let API_ENDPOINT = "https://api.client.prod.copus.io"; let API_ENDPOINT = "https://api.client.prod.copus.io/copus-client";
if (env !== "prod") { if (env !== "prod") {
API_ENDPOINT = "https://api.dev.copus.io/copus-client"; API_ENDPOINT = "https://api.dev.copus.io/copus-client";