File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
src/Umbraco.Web.UI.Client/src/mocks/handlers Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 11const { rest } = window . MockServiceWorker ;
2+ import { version } from '../../../package.json' ;
23import {
34 RuntimeLevelModel ,
45 RuntimeModeModel ,
@@ -67,8 +68,8 @@ export const serverInformationHandlers = [
6768 // Respond with a 200 status code
6869 ctx . status ( 200 ) ,
6970 ctx . json < GetServerInformationResponse > ( {
70- version : '14.0.0' ,
71- assemblyVersion : '14.0.0' ,
71+ version,
72+ assemblyVersion : version ,
7273 baseUtcOffset : '01:00:00' ,
7374 runtimeMode : RuntimeModeModel . BACKOFFICE_DEVELOPMENT ,
7475 } ) ,
@@ -82,7 +83,7 @@ export const serverInformationHandlers = [
8283 items : [
8384 { name : 'Umbraco base url' , data : location . origin } ,
8485 { name : 'Mocked server' , data : 'true' } ,
85- { name : 'Umbraco version' , data : '14.0.0-preview004' } ,
86+ { name : 'Umbraco version' , data : version } ,
8687 ] ,
8788 } ) ,
8889 ) ;
You can’t perform that action at this time.
0 commit comments