File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,10 +5,13 @@ import ChangelogService from './changelog/ChangelogService';
55import ChangelogTagFactory from './changelog/ChangelogTagFactory' ;
66import YouTubeLoader from './changelog/YouTubeLoader' ;
77import { detectTopicFromUrl , formatDate , setMetaContent } from './shared/common' ;
8+ import { setDocumentContext } from './shared/context' ;
89
910import '../css/changelog.css' ;
1011import { CHANGELOG_PATH_PREFIX , CHANGELOG_SUBPAGE_PARAM_NAME } from './changelog/config' ;
1112
13+ setDocumentContext ( document , document . location . hostname ) ;
14+
1215const tagFactory = new ChangelogTagFactory ( ) ;
1316const youTubeLoader = new YouTubeLoader ( ) ;
1417
Original file line number Diff line number Diff line change @@ -11,6 +11,9 @@ import {
1111 STACKS_SUBPAGE_PARAM_NAME ,
1212 STACKS_SUBPAGE_PATH_PREFIX ,
1313} from './stacks/config' ;
14+ import { setDocumentContext } from './shared/context' ;
15+
16+ setDocumentContext ( document , document . location . hostname ) ;
1417
1518const stacksAPIBase = 'https://stacks.bitrise.io/' ;
1619
You can’t perform that action at this time.
0 commit comments