mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-25 00:53:06 +03:00
14 lines
252 B
TypeScript
14 lines
252 B
TypeScript
import { Controller, Get } from '@nestjs/common';
|
|
|
|
@Controller('/')
|
|
export class AppController {
|
|
@Get()
|
|
info() {
|
|
const version = AFFiNE.version;
|
|
return {
|
|
compatibility: version,
|
|
message: `AFFiNE ${version} Server`,
|
|
};
|
|
}
|
|
}
|