Skip to content

Commit

Permalink
New server build.soulmatelights.com
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottkember committed Nov 27, 2022
1 parent c4142ea commit 42170d9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/main/Settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ const Settings = () => {
onChange={setSimulator}
options={[
{
option: "https://firmware.soulmatelights.com:8082/build",
option: "https://build.soulmatelights.com/hexi",
name: "Production",
},
{ option: "http://localhost:8080/build", name: "Local" },
Expand All @@ -130,7 +130,7 @@ const Settings = () => {
onChange={setFirmware}
options={[
{
option: "https://firmware.soulmatelights.com:8083/build",
option: "https://build.soulmatelights.com/build",
name: "Production",
},
{ option: "http://localhost:8081/build", name: "Local" },
Expand Down
11 changes: 7 additions & 4 deletions src/main/containers/network.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,17 @@ import { createContainer } from "~/utils/unstated-next";
if (localStorage.appServerUrl === "https://editor.soulmatelights.com/")
localStorage.appServerUrl = "https://server.soulmatelights.com/";

if (localStorage.simulatorUrl == "https://editor.soulmatelights.com/sketches/build")
localStorage.simulatorUrl = "https://firmware.soulmatelights.com:8082/build"
if (
localStorage.simulatorUrl ==
"https://editor.soulmatelights.com/sketches/build"
)
localStorage.simulatorUrl = "https://build.soulmatelights.com/hexi";

let initialSimulatorUrl =
localStorage.simulatorUrl || "https://firmware.soulmatelights.com:8082/build";
localStorage.simulatorUrl || "https://build.soulmatelights.com/hexi";

let initialFirmwareUrl =
localStorage.firmwareUrl || "https://firmware.soulmatelights.com:8083/build";
localStorage.firmwareUrl || "https://build.soulmatelights.com/builder";

let initialAppServerUrl =
localStorage.appServerUrl || "https://server.soulmatelights.com/";
Expand Down

0 comments on commit 42170d9

Please sign in to comment.