Skip to content
This repository was archived by the owner on Mar 15, 2025. It is now read-only.
Merged

Update #1061

Changes from 1 commit
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
Next Next commit
fix environment
  • Loading branch information
wandyezj committed May 16, 2024
commit 6356cfbdc41abbbfbe91cee48e6985e9600624cb
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