Files
Hyperia/index.js
metacryst 760563167c init
2025-06-22 18:09:19 -05:00

9 lines
299 B
JavaScript

import path from 'path';
import { fileURLToPath } from 'url';
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const modulePath = process.env.QUILL_PATH;
const { default: Server } = await import(modulePath);
const server = new Server(__dirname, 3003);