Skip to content

Commit

Permalink
update domains
Browse files Browse the repository at this point in the history
  • Loading branch information
milukove committed Feb 12, 2024
1 parent 054f2da commit b002065
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 24 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Grindery CDS allows you to create, clone and edit Nexus platform
connectors.

Live URL: [https://network.grindery.org/](https://network.grindery.org/)
Live URL: [https://network.grindery.com/](https://network.grindery.com/)

## Development

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "grindery-cds",
"version": "0.3.0",
"version": "0.3.1",
"private": true,
"dependencies": {
"@silizia/react-json-view": "^2.0.0",
Expand Down Expand Up @@ -36,7 +36,7 @@
"styled-components": "^5.3.5",
"throttle-debounce": "^5.0.0",
"typescript": "^4.4.2",
"use-grindery-login": "^0.2.2"
"use-grindery-login": "^0.2.3"
},
"scripts": {
"start": "react-scripts start",
Expand Down
2 changes: 1 addition & 1 deletion public/firebase-messaging-sw.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ messaging.onBackgroundMessage((payload) => {
"",
icon:
(payload.data && payload.data.icon) ||
"https://nexus.grindery.org/logo192.png",
"https://app.grindery.com/logo192.png",
data: {
url: (payload.data && payload.data.url) || "",
},
Expand Down
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function App() {
<CircularProgress color="inherit" />
</div>
}
disconnectRedirectUrl="https://www.grindery.io/sign-out?sidebar_opened=1"
disconnectRedirectUrl="https://www.grindery.com/sign-out?sidebar_opened=1"
>
<BrowserRouter>
<WorkspaceContextProvider>
Expand Down
6 changes: 3 additions & 3 deletions src/__tests__/helpers/utils.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import helloWorldConnector from "../../samples/connectors/helloworld.json";
describe("getParameterByName function", () => {
test("returns URL parameter value by name", () => {
const name = "test";
const url = "https://nexus.grindery.org?test=1";
const url = "https://nexus.grindery.com?test=1";

const output = "1";

Expand All @@ -18,7 +18,7 @@ describe("getParameterByName function", () => {

test("returns null if parameter not found", () => {
const name = "test";
const url = "https://nexus.grindery.org";
const url = "https://nexus.grindery.com";

const output = null;

Expand All @@ -35,7 +35,7 @@ describe("getParameterByName function", () => {

test("returns empty string if parameter has no value", () => {
const name = "test";
const url = "https://nexus.grindery.org?test=";
const url = "https://nexus.grindery.com?test=";

const output = "";

Expand Down
2 changes: 1 addition & 1 deletion src/components/network/NetworkHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ const NetworkHeader = (props: Props) => {
<Link
onClick={() => {
window.open(
"https://docs.grindery.org/18-od-buxPOERx51kvaZeGDm2v0oYSrw1/SDK-Documentation",
"https://docs.grindery.com/18-od-buxPOERx51kvaZeGDm2v0oYSrw1/SDK-Documentation",
"_blank"
);
}}
Expand Down
4 changes: 2 additions & 2 deletions src/components/shared/EarlyAccessModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ const EarlyAccessModal = (props: Props) => {
setLoading(true);
setError("");
const res = await client
?.requestEarlyAccess(email, "network.grindery.org", "Requested to CDS")
?.requestEarlyAccess(email, "network.grindery.com", "Requested to CDS")
.catch((err) => {
console.error(
"or_requestEarlyAccess error",
Expand Down Expand Up @@ -255,7 +255,7 @@ const EarlyAccessModal = (props: Props) => {
</a>{" "}
and{" "}
<a
href="https://www.grindery.io/privacy"
href="https://www.grindery.com/privacy"
target="_blank"
rel="noreferrer"
>
Expand Down
18 changes: 10 additions & 8 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export const SCREEN = {
DESKTOP_XL: "1600px",
};

export const WORKFLOW_ENGINE_URL = "https://orchestrator.grindery.org";
export const WORKFLOW_ENGINE_URL = "https://orchestrator.grindery.com";

export const ICONS: { [key: string]: string } = {
WALLET: "/images/icons/wallet.svg",
Expand Down Expand Up @@ -365,35 +365,37 @@ export const HS_FORM_ID = "80ae7474-b232-4eb8-bad7-a4b2d651d643";
export const isLocalOrStaging =
window.location.hostname === "localhost" ||
window.location.hostname === "127.0.0.1" ||
window.location.hostname === "nexus-staging.grindery.org" ||
window.location.hostname === "network-staging.grindery.org";
window.location.hostname === "nexus-staging.grindery.com" ||
window.location.hostname === "network-staging.grindery.com" ||
window.location.hostname === "nexus-staging.grindery.io" ||
window.location.hostname === "network-staging.grindery.io";

/*export const CDS_EDITOR_API_ENDPOINT = isLocalOrStaging
? "http://localhost:5000/api/v1"
: "https://nexus-cds-editor-api.herokuapp.com/api/v1";*/
export const CDS_EDITOR_API_ENDPOINT = "https://cds-editor.grindery.org/api/v1";
export const CDS_EDITOR_API_ENDPOINT = "https://cds-editor.grindery.com/api/v1";

export const GRINDERY_APPS = [
{
url: "https://flow.grindery.org/",
url: "https://flow.grindery.com/",
name: "Flow",
description: "Create workflows witn no-code",
target: "_blank",
},
{
url: "https://ping.grindery.org/",
url: "https://ping.grindery.com/",
name: "Ping",
description: "Receive blockchain notifications",
target: "_blank",
},
{
url: "https://gateway.grindery.org/",
url: "https://gateway.grindery.com/",
name: "Gateway",
description: "Your gateway to web3 no-code",
target: "_blank",
},
{
url: "https://network.grindery.org/",
url: "https://network.grindery.com/",
name: "CDS",
description: "Create Connector Description Schema files",
target: "_blank",
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/firebase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ onMessage(messaging, (payload) => {
"",
icon:
(payload.data && payload.data.icon) ||
"https://nexus.grindery.org/logo192.png",
"https://app.grindery.com/logo192.png",
data: {
url: (payload.data && payload.data.url) || "",
},
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9888,10 +9888,10 @@ use-composed-ref@^1.3.0:
resolved "https://registry.yarnpkg.com/use-composed-ref/-/use-composed-ref-1.3.0.tgz#3d8104db34b7b264030a9d916c5e94fbe280dbda"
integrity sha512-GLMG0Jc/jiKov/3Ulid1wbv3r54K9HlMW29IWcDFPEqFkSO2nS0MuefWgMJpeHQ9YJeXDL3ZUF+P3jdXlZX/cQ==

use-grindery-login@^0.2.2:
version "0.2.2"
resolved "https://registry.yarnpkg.com/use-grindery-login/-/use-grindery-login-0.2.2.tgz#cd4a2947a648d2a9f0df91d4db9197916bd26de1"
integrity sha512-aRkbURUbh85FQjbbHS2ZGo7dn1OYrM0Hee9Sdg5Nu1pLl0h/5uv/CFelAIJ75CwfOcGWyAX/WxfH7FuWbY70kA==
use-grindery-login@^0.2.3:
version "0.2.3"
resolved "https://registry.yarnpkg.com/use-grindery-login/-/use-grindery-login-0.2.3.tgz#228f9def37696b6474eb8287d89c866fa65677b4"
integrity sha512-gGbQIY/KUocDme1xN3nkeQK/8MGGeTv4CCbuu1HjfzugvSXZF+6+/DdeQ4jV+eyciqtBpJeG4QFeN3kU2vpnKQ==

use-isomorphic-layout-effect@^1.1.1:
version "1.1.2"
Expand Down

0 comments on commit b002065

Please sign in to comment.