2023-03-01 10:40:01 +03:00
|
|
|
import 'dotenv/config';
|
|
|
|
|
2023-03-02 21:01:09 +03:00
|
|
|
const config = {
|
2023-03-01 10:40:01 +03:00
|
|
|
enableIndexedDBProvider: Boolean(process.env.ENABLE_IDB_PROVIDER ?? '1'),
|
2023-03-01 22:47:09 +03:00
|
|
|
enableBroadCastChannelProvider: Boolean(
|
|
|
|
process.env.ENABLE_BC_PROVIDER ?? '1'
|
|
|
|
),
|
2023-03-01 10:40:01 +03:00
|
|
|
prefetchWorkspace: Boolean(process.env.PREFETCH_WORKSPACE ?? '1'),
|
2023-03-02 01:33:52 +03:00
|
|
|
exposeInternal: Boolean(process.env.EXPOSE_INTERNAL ?? '1'),
|
2023-03-03 05:00:56 +03:00
|
|
|
enableDebugPage: Boolean(process.env.ENABLE_DEBUG_PAGE ?? false),
|
2023-03-01 10:40:01 +03:00
|
|
|
};
|
2023-03-02 21:01:09 +03:00
|
|
|
export default config;
|