Skip to content

Commit

Permalink
fix environment
Browse files Browse the repository at this point in the history
  • Loading branch information
wandyezj committed May 16, 2024
1 parent ba2b71f commit 6356cfb
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 @@ -60,6 +66,8 @@ export const environmentDisplayNames: SwitchableEnvironments = (() => {
local: "localhost",

target: "Target",

temp: "Temp",

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

0 comments on commit 6356cfb

Please sign in to comment.