Skip to content

Commit be75be2

Browse files
committed
Always load versions from latest material.angular.io
PR angular#645 erroneously changed this to a relative url. We want this to always use the latest material.angular.io so that we don't have to update old branches for new major versions.
1 parent c31c521 commit be75be2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/shared/version-picker/version-picker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {MatMenuModule} from '@angular/material/menu';
77
import {VERSION} from '@angular/material/core';
88
import {MatTooltipModule} from '@angular/material/tooltip';
99

10-
const versionUrl = 'assets/versions.json';
10+
const versionUrl = 'https://material.angular.io/assets/versions.json';
1111

1212
/** Version information with title and redirect url */
1313
interface VersionInfo {

0 commit comments

Comments
 (0)