mirror of
https://github.com/wukko/cobalt.git
synced 2025-04-02 16:21:43 +02:00
11 lines
211 B
JavaScript
11 lines
211 B
JavaScript
|
import { env } from '../config.js';
|
||
|
|
||
|
let _export;
|
||
|
if (env.redisURL) {
|
||
|
_export = await import('./redis-store.js');
|
||
|
} else {
|
||
|
_export = await import('./memory-store.js');
|
||
|
}
|
||
|
|
||
|
export default _export.default;
|