traxxx-web/src/app.js

17 lines
315 B
JavaScript
Raw Normal View History

2024-01-08 01:21:57 +00:00
import initServer from './web/server.js';
import { cacheTagIds } from './tags.js';
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() {
await Promise.all([
cacheTagIds(),
cacheEntityIds(),
2024-06-12 02:23:46 +00:00
cacheCampaigns(),
]);
2024-01-08 01:21:57 +00:00
initServer();
}
init();