set install status via environment

This commit is contained in:
Jacob Overgaard
2022-05-18 13:14:04 +02:00
parent 4b3442f9f0
commit 050eaa1905

View File

@@ -7,7 +7,7 @@ export const handlers = [
ctx.status(200),
ctx.json({
version: '13.0.0',
installed: true,
installed: import.meta.env.VITE_UMBRACO_INSTALL_STATUS !== 'false',
})
);
}),