Skip to content

Commit 47d2bc2

Browse files
committed
Core update
1 parent dc316df commit 47d2bc2

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

.core/server/renderer/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,11 @@ SDK.Hook.registerSync(
128128
'<link rel="shortcut icon" type="image/x-icon" href="/assets/images/favicon.ico" />',
129129
order: SDK.Enums.priority.highest,
130130
});
131+
AppHeaders.register('favicon', {
132+
header:
133+
'<link rel="icon" type="image/x-icon" href="/assets/images/favicon.ico" />',
134+
order: SDK.Enums.priority.highest,
135+
});
131136
AppHeaders.register('viewport', {
132137
header:
133138
'<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />',

src/app/api/index.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import Reactium from 'reactium-core/sdk';
2+
import op from 'object-path';
3+
4+
console.log(
5+
'You imported from appdir/api, which is deprecated. Use the Reactium singleton instead.',
6+
`import Reactium from 'reactium-core/sdk';
7+
8+
const api = Reactium.API.MyAPI;
9+
`,
10+
);
11+
12+
export default Reactium.API.Actinium;

0 commit comments

Comments
 (0)