Skip to content

Commit

Permalink
update filetype cdn version v8 (#16539)
Browse files Browse the repository at this point in the history
* Updating Fabric CDN url version to fetch latest filetype icons

* Change files
  • Loading branch information
bigbadcapers authored Feb 19, 2021
1 parent d335ca7 commit 4011be1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "prerelease",
"comment": "Updating Fabric CDN url version to fetch latest filetype icons",
"packageName": "@fluentui/react-file-type-icons",
"email": "[email protected]",
"dependentChangeType": "patch",
"date": "2021-01-19T20:06:55.702Z"
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { FileTypeIconMap } from './FileTypeIconMap';
const PNG_SUFFIX = '_png';
const SVG_SUFFIX = '_svg';

const DEFAULT_BASE_URL = 'https://spoprod-a.akamaihd.net/files/fabric-cdn-prod_20201125.001/assets/item-types/';
const DEFAULT_BASE_URL = 'https://spoprod-a.akamaihd.net/files/fabric-cdn-prod_20210115.001/assets/item-types/';
const ICON_SIZES: number[] = [16, 20, 24, 32, 40, 48, 64, 96];

export function initializeFileTypeIcons(baseUrl: string = DEFAULT_BASE_URL, options?: Partial<IIconOptions>): void {
Expand Down

0 comments on commit 4011be1

Please sign in to comment.