Files
OmniRoute/src/server-init.js
diegosouzapw 699329944e feat: initial OmniRoute release (rebranded from 9router)
This project is inspired by and originally forked from 9router by decolua
(https://github.com/decolua/9router).

Full rebrand: 9router → OmniRoute across all source code, configuration,
Docker, documentation, and assets.
2026-02-13 16:29:27 -03:00

22 lines
562 B
JavaScript

// Server startup script
import initializeCloudSync from "./shared/services/initializeCloudSync.js";
async function startServer() {
console.log("Starting server with cloud sync...");
try {
// Initialize cloud sync
await initializeCloudSync();
console.log("Server started with cloud sync initialized");
} catch (error) {
console.log("Error initializing cloud sync:", error);
process.exit(1);
}
}
// Start the server initialization
startServer().catch(console.log);
// Export for use as module if needed
export default startServer;