Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const whitelistedHosts = [
"https://host.plasmic.dev",
"https://code-components.plasmic.site",
"https://plasmic.app",
"https://host.plasmicdev.com",
"https://host.elasticpathdev.com",
"https://staging.plasmic.app",
"https://staging-host.plasmic.app",

Expand Down
6 changes: 3 additions & 3 deletions platform/wab/src/wab/shared/devflags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -285,10 +285,10 @@ const DEFAULT_DEVFLAGS = {
process.env.CODEGEN_ORIGIN_HOST ||
process.env.CODEGEN_HOST ||
"http://codegen-origin.plasmic.app",
adminTeamDomain: production ? "plasmic.app" : "admin.example.com",
adminTeamDomain: production ? "elasticpath.com" : "admin.example.com",
defaultHostUrl:
process.env.REACT_APP_DEFAULT_HOST_URL ||
"https://host.plasmicdev.com/static/host.html",
"https://host.elasticpathdev.com/static/host.html",
dynamicPages: true,
enablePlasmicHosting: true,
// Used to invalidate etag cacheing mechanism altogether
Expand Down Expand Up @@ -458,7 +458,7 @@ const DEFAULT_DEVFLAGS = {
spacing: true,
spacingArea: true,
setHostLessProject: false,
plasmicHostingSubdomainSuffix: "plasmic.run",
plasmicHostingSubdomainSuffix: "elasticpath.run",
splits: true,
refActions: false,
multiSelect: false,
Expand Down
2 changes: 1 addition & 1 deletion platform/wab/tools/backend-server.bash
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
if [[ $REACT_APP_DEV_HOST_PROXY ]]; then
HOST_URL=${REACT_APP_DEV_HOST_PROXY}/static/host.html
elif [[ $REACT_APP_DEV_PROXY ]]; then
HOST_URL=https://host.plasmicdev.com/static/host.html
HOST_URL=https://host.elasticpathdev.com/static/host.html
else
HOST_URL=http://localhost:${HOSTSERVER_PORT:-3005}/static/host.html
fi
Expand Down
2 changes: 1 addition & 1 deletion platform/wab/tools/dev-server.bash
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ port=${PORT:-3003}
if [[ $REACT_APP_DEV_HOST_PROXY ]]; then
HOST_URL=${REACT_APP_DEV_HOST_PROXY}/static/host.html
elif [[ $REACT_APP_DEV_PROXY ]]; then
HOST_URL=https://host.plasmicdev.com/static/host.html
HOST_URL=https://host.elasticpathdev.com/static/host.html
else
HOST_URL=http://localhost:${HOSTSERVER_PORT:-3005}/static/host.html
fi
Expand Down