@omg-dev/pwa 0.4.27 → 0.4.29
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/dist/remix-cta.mjs +1 -1
- package/package.json +1 -1
- package/src/remix-cta.tsx +7 -2
package/dist/remix-cta.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
3
3
|
import { createRoot } from "react-dom/client";
|
|
4
4
|
//#region src/remix-cta.tsx
|
|
5
5
|
const DISMISS_KEY = "vibes-remix:dismissed";
|
|
6
|
-
const REMIX_ORIGIN = typeof import.meta !== "undefined" && import.meta.env?.VITE_REMIX_ORIGIN || "https://omg.dev";
|
|
6
|
+
const REMIX_ORIGIN = typeof import.meta !== "undefined" && import.meta.env?.VITE_REMIX_ORIGIN || "https://app.omg.dev";
|
|
7
7
|
const CONTROLPLANE_URL = (typeof import.meta !== "undefined" && import.meta.env?.VITE_CONTROLPLANE_URL || "https://backend.omg.dev").replace(/\/$/, "");
|
|
8
8
|
function appSlug() {
|
|
9
9
|
if (typeof import.meta === "undefined") return null;
|
package/package.json
CHANGED
package/src/remix-cta.tsx
CHANGED
|
@@ -20,11 +20,16 @@ import { isInIframe } from "./core"
|
|
|
20
20
|
|
|
21
21
|
const DISMISS_KEY = "vibes-remix:dismissed"
|
|
22
22
|
// The dashboard origin the remix deep-link points at. Overridable for
|
|
23
|
-
// self-host via VITE_REMIX_ORIGIN
|
|
23
|
+
// self-host via VITE_REMIX_ORIGIN.
|
|
24
|
+
//
|
|
25
|
+
// app.omg.dev, NOT omg.dev: /remix/<slug> is a dashboard SPA route, and the
|
|
26
|
+
// dashboard moved off omg.dev when that host became the marketing landing.
|
|
27
|
+
// The landing has no /remix route, so the old default sent every recipient of
|
|
28
|
+
// a shared app to a "Not Found" page — the whole recipient->creator loop.
|
|
24
29
|
const REMIX_ORIGIN =
|
|
25
30
|
(typeof import.meta !== "undefined" &&
|
|
26
31
|
(import.meta as { env?: Record<string, string | undefined> }).env?.VITE_REMIX_ORIGIN) ||
|
|
27
|
-
"https://omg.dev"
|
|
32
|
+
"https://app.omg.dev"
|
|
28
33
|
const CONTROLPLANE_URL = (
|
|
29
34
|
(typeof import.meta !== "undefined" &&
|
|
30
35
|
(import.meta as { env?: Record<string, string | undefined> }).env?.VITE_CONTROLPLANE_URL) ||
|