"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.launchWizardApp = void 0;
const hono_1 = require("hono");
const node_server_1 = require("@hono/node-server");
const serve_static_1 = require("@hono/node-server/serve-static");
const launchWizardApp = () => {
    const app = new hono_1.Hono();
    app.get('/api', async (c) => {
        return c.text('Hello from Patchwork Wizard API');
    });
    app.use('/*', (0, serve_static_1.serveStatic)({ root: 'dist/wizard' }));
    (0, node_server_1.serve)({
        fetch: app.fetch,
        port: 3333
    });
    console.log('Patchwork Wizard is running on http://localhost:3333');
};
exports.launchWizardApp = launchWizardApp;
