Skip to content

Commit

Permalink
Update (#1061)
Browse files Browse the repository at this point in the history
* fix environment
  • Loading branch information
wandyezj authored May 16, 2024
1 parent ba2b71f commit b80851a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/common/src/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ interface SwitchableEnvironments {

target: string;

temp: string;

/**
* Public SDF
* https://res-sdf.cdn.office.net/script-lab/
Expand All @@ -42,6 +44,8 @@ export const editorUrls: SwitchableEnvironments = {

target: `${targetDomain}/script-lab/edit`,

temp: `https://script-lab.azureedge.net`,

cdnPreview: "https://script-lab.sdf.cdn.office.net/script-lab/7dttl",
cdnProduction: "https://script-lab.public.cdn.office.net/script-lab/7dttl",
};
Expand All @@ -51,6 +55,8 @@ const runnerUrls: SwitchableEnvironments = {

target: `${targetDomain}/script-lab/run`,

temp: `https://script-lab.azureedge.net`,

cdnPreview: "https://script-lab-runner.sdf.cdn.office.net/script-lab-runner/7dttl",
cdnProduction: "https://script-lab-runner.public.cdn.office.net/script-lab-runner/7dttl",
};
Expand All @@ -61,6 +67,8 @@ export const environmentDisplayNames: SwitchableEnvironments = (() => {

target: "Target",

temp: "Temp",

cdnPreview: "CDN Preview",
cdnProduction: "CDN Production",
};
Expand Down

0 comments on commit b80851a

Please sign in to comment.