Skip to content

Commit

Permalink
Merge pull request #3750 from illacloud/release/4.5.16
Browse files Browse the repository at this point in the history
Release/4.5.16
  • Loading branch information
AruSeito authored Mar 6, 2024
2 parents 2a11f45 + f58ecc6 commit fc7458c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion apps/builder/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@

async function validateCustomDomain() {
const origin = location.origin
if (origin !== "%ILLA_BUILDER_URL%") {
if (
"%ILLA_INSTANCE_ID%" === "CLOUD" &&
origin !== "%ILLA_BUILDER_URL%"
) {
window.customDomain = location.host
try {
const response = await fetch(
Expand Down
2 changes: 1 addition & 1 deletion apps/builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"private": true,
"author": "ILLA Cloud <[email protected]>",
"license": "Apache-2.0",
"version": "4.5.15",
"version": "4.5.16",
"scripts": {
"dev": "vite --strictPort --force",
"build-cloud": "NODE_OPTIONS=--max-old-space-size=12288 vite build --mode cloud",
Expand Down
4 changes: 2 additions & 2 deletions apps/builder/src/main.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ILLAMixpanel } from "@illa-public/mixpanel-utils"
import { initDateReport, initDayjs, isCloudVersion } from "@illa-public/utils"
import { initDateReport, initDayjs } from "@illa-public/utils"
import { LicenseInfo } from "@mui/x-data-grid-premium"
import * as Sentry from "@sentry/react"
import { StrictMode } from "react"
Expand Down Expand Up @@ -34,7 +34,7 @@ if (
})
}

if (isCloudVersion) {
if (import.meta.env.ILLA_MUI_LICENSE) {
LicenseInfo.setLicenseKey(import.meta.env.ILLA_MUI_LICENSE)
}

Expand Down

0 comments on commit fc7458c

Please sign in to comment.