2024-01-08 01:21:57 +00:00
|
|
|
import initServer from './web/server.js';
|
|
|
|
import { cacheTagIds } from './tags.js';
|
2024-01-09 01:26:32 +00:00
|
|
|
import { cacheEntityIds } from './entities.js';
|
2024-06-12 02:23:46 +00:00
|
|
|
import { cacheCampaigns } from './campaigns.js';
|
2024-01-08 01:21:57 +00:00
|
|
|
|
|
|
|
async function init() {
|
2024-01-09 01:26:32 +00:00
|
|
|
await Promise.all([
|
|
|
|
cacheTagIds(),
|
|
|
|
cacheEntityIds(),
|
2024-06-12 02:23:46 +00:00
|
|
|
cacheCampaigns(),
|
2024-01-09 01:26:32 +00:00
|
|
|
]);
|
2024-01-08 01:21:57 +00:00
|
|
|
|
|
|
|
initServer();
|
|
|
|
}
|
|
|
|
|
|
|
|
init();
|