mirror of
https://github.com/wukko/cobalt.git
synced 2025-05-01 06:44:24 +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;
|