server.uuid so is not used (#66963)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
49213bd20d
commit
cb1f69aa21
|
@ -52,17 +52,6 @@ export class CoreApp {
|
|||
router.get({ path: '/core', validate: false }, async (context, req, res) =>
|
||||
res.ok({ body: { version: '0.0.1' } })
|
||||
);
|
||||
|
||||
coreSetup.savedObjects.registerType({
|
||||
name: 'server',
|
||||
hidden: false,
|
||||
namespaceType: 'single',
|
||||
mappings: {
|
||||
properties: {
|
||||
uuid: { type: 'keyword' },
|
||||
},
|
||||
},
|
||||
});
|
||||
}
|
||||
private registerStaticDirs(coreSetup: InternalCoreSetup) {
|
||||
coreSetup.http.registerStaticDir('/ui/{path*}', Path.resolve(__dirname, './assets'));
|
||||
|
|
Loading…
Reference in a new issue