Generate visual representations of the networks underlying video-gamebooks on YouTube
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
517 B

import express from 'express';
import path from 'path';
import cookieParser from 'cookie-parser';
import logger from 'morgan';
import { fileURLToPath } from 'url';
const thisdir = path.dirname(fileURLToPath(import.meta.url));
const app = express();
export default app;
app.use(express.urlencoded({ extended: false }));
app.use(express.static(path.join(thisdir, 'public')));
import mazes from './routes/mazes.mjs';
app.use('/mazes', mazes);