mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-16 17:46:18 +08:00
refactor(server): config system (#11081)
This commit is contained in:
@@ -1,14 +1,10 @@
|
||||
import './config';
|
||||
import { Global, Module } from '@nestjs/common';
|
||||
|
||||
import { Global } from '@nestjs/common';
|
||||
|
||||
import { Plugin } from '../registry';
|
||||
import { GCloudLogging } from './logging';
|
||||
import { GCloudMetrics } from './metrics';
|
||||
|
||||
@Global()
|
||||
@Plugin({
|
||||
name: 'gcloud',
|
||||
@Module({
|
||||
imports: [GCloudMetrics, GCloudLogging],
|
||||
})
|
||||
export class GCloudModule {}
|
||||
|
||||
Reference in New Issue
Block a user