new portal

This commit is contained in:
DmitryBorisenko33
2026-02-09 00:25:44 +01:00
parent dc9c1a289c
commit 886c15f28a

View File

@@ -1,5 +1,5 @@
/** /**
* Portal API: https://portal.iotmanager.org * Portal API: https://cloud.iotmanager.org/portal
* Auth/user, configurations, compiler (profile, orders, etc.). * Auth/user, configurations, compiler (profile, orders, etc.).
* *
* CORS: If you see "Redirect is not allowed for a preflight request", the server * CORS: If you see "Redirect is not allowed for a preflight request", the server
@@ -10,7 +10,7 @@
import { get, post } from "./http.js"; import { get, post } from "./http.js";
/** Portal base URL; export for building links in UI (e.g. configs, build install). */ /** Portal base URL; export for building links in UI (e.g. configs, build install). */
export const BASE = "https://portal.iotmanager.org"; export const BASE = "https://cloud.iotmanager.org/portal";
function authHeaders(token) { function authHeaders(token) {
return { return {