mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-25 21:44:48 +03:00
22 lines
499 B
TypeScript
22 lines
499 B
TypeScript
import {
|
|
blockSuiteFeatureFlags,
|
|
buildFlags,
|
|
// @ts-expect-error
|
|
} from '@affine/web/preset.config.mjs';
|
|
|
|
export default function getConfig() {
|
|
return {
|
|
publicRuntimeConfig: {
|
|
PROJECT_NAME: 'AFFiNE Mock',
|
|
BUILD_DATE: '2021-09-01T00:00:00.000Z',
|
|
gitVersion: 'UNKNOWN',
|
|
hash: 'UNKNOWN',
|
|
appVersion: '0.0.0',
|
|
editorVersion: '0.0.0',
|
|
serverAPI: 'http://127.0.0.1:3000/',
|
|
editorFlags: blockSuiteFeatureFlags,
|
|
...buildFlags,
|
|
},
|
|
};
|
|
}
|