@ansiversa/components 0.0.101 → 0.0.103
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/AvBrand.astro
CHANGED
|
@@ -21,7 +21,13 @@ interface Props {
|
|
|
21
21
|
|
|
22
22
|
const {
|
|
23
23
|
href = (() => {
|
|
24
|
-
const rawDomain = (
|
|
24
|
+
const rawDomain = (
|
|
25
|
+
import.meta.env.PUBLIC_SITE_URL ||
|
|
26
|
+
import.meta.env.PUBLIC_ROOT_APP_URL ||
|
|
27
|
+
import.meta.env.PARENT_APP_URL ||
|
|
28
|
+
import.meta.env.ANSIVERSA_COOKIE_DOMAIN ||
|
|
29
|
+
"ansiversa.com"
|
|
30
|
+
).trim();
|
|
25
31
|
const normalizedDomain = rawDomain.replace(/^(https?:\/\/)/i, "").replace(/\/+$/, "");
|
|
26
32
|
const protocol = rawDomain.match(/^https?:\/\//i)
|
|
27
33
|
? undefined
|
|
@@ -33,7 +33,13 @@ const classes = ["av-navbar-actions"];
|
|
|
33
33
|
if (className) classes.push(className);
|
|
34
34
|
const classAttr = classes.join(" ");
|
|
35
35
|
|
|
36
|
-
const rawDomain = (
|
|
36
|
+
const rawDomain = (
|
|
37
|
+
import.meta.env.PUBLIC_SITE_URL ||
|
|
38
|
+
import.meta.env.PUBLIC_ROOT_APP_URL ||
|
|
39
|
+
import.meta.env.PARENT_APP_URL ||
|
|
40
|
+
import.meta.env.ANSIVERSA_COOKIE_DOMAIN ||
|
|
41
|
+
"ansiversa.com"
|
|
42
|
+
).trim();
|
|
37
43
|
const normalizedDomain = rawDomain.replace(/^(https?:\/\/)/i, "").replace(/\/+$/, "");
|
|
38
44
|
const protocol = rawDomain.match(/^https?:\/\//i)
|
|
39
45
|
? undefined
|
package/src/Summary/types.ts
CHANGED
|
@@ -9,7 +9,13 @@ const {
|
|
|
9
9
|
description = "Ansiversa – A unified ecosystem of premium Apps designed to feel simple, powerful, and delightful.",
|
|
10
10
|
} = Astro.props;
|
|
11
11
|
|
|
12
|
-
const rawDomain = (
|
|
12
|
+
const rawDomain = (
|
|
13
|
+
import.meta.env.PUBLIC_SITE_URL ||
|
|
14
|
+
import.meta.env.PUBLIC_ROOT_APP_URL ||
|
|
15
|
+
import.meta.env.PARENT_APP_URL ||
|
|
16
|
+
import.meta.env.ANSIVERSA_COOKIE_DOMAIN ||
|
|
17
|
+
"ansiversa.com"
|
|
18
|
+
).trim();
|
|
13
19
|
const normalizedDomain = rawDomain.replace(/^(https?:\/\/)/i, "").replace(/\/+$/, "");
|
|
14
20
|
const protocol = rawDomain.match(/^https?:\/\//i)
|
|
15
21
|
? undefined
|
|
@@ -16,7 +16,13 @@ const {
|
|
|
16
16
|
|
|
17
17
|
const user = Astro.locals.user;
|
|
18
18
|
|
|
19
|
-
const rawDomain = (
|
|
19
|
+
const rawDomain = (
|
|
20
|
+
import.meta.env.PUBLIC_SITE_URL ||
|
|
21
|
+
import.meta.env.PUBLIC_ROOT_APP_URL ||
|
|
22
|
+
import.meta.env.PARENT_APP_URL ||
|
|
23
|
+
import.meta.env.ANSIVERSA_COOKIE_DOMAIN ||
|
|
24
|
+
"ansiversa.com"
|
|
25
|
+
).trim();
|
|
20
26
|
const normalizedDomain = rawDomain.replace(/^(https?:\/\/)/i, "").replace(/\/+$/, "");
|
|
21
27
|
const protocol = rawDomain.match(/^https?:\/\//i)
|
|
22
28
|
? undefined
|