Files
outline/shared/utils/urls.js
2021-09-10 22:46:57 -07:00

7 lines
164 B
JavaScript

// @flow
const env = typeof window !== "undefined" ? window.env : process.env;
export function cdnPath(path: string): string {
return `${env.CDN_URL}${path}`;
}