mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-27 06:51:36 +03:00
20 lines
455 B
TypeScript
20 lines
455 B
TypeScript
import {
|
|
blockSuiteFeatureFlags,
|
|
buildFlags,
|
|
} from '../../apps/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',
|
|
editorVersion: 'UNKNOWN',
|
|
serverAPI: 'http://127.0.0.1:3000/',
|
|
editorFlags: blockSuiteFeatureFlags,
|
|
...buildFlags,
|
|
},
|
|
};
|
|
}
|