master
Sven Slootweg 11 months ago
parent 0c6c58df62
commit 72d83580b0

@ -64,6 +64,8 @@ app.set(path.resolve(__dirname, "./views"));
app.set("view engine", "jsx"); app.set("view engine", "jsx");
app.engine("jsx", expressReactViews.createEngine()); app.engine("jsx", expressReactViews.createEngine());
app.use(express.static(path.resolve(__dirname, "./static")));
app.use(expressSession({ app.use(expressSession({
secret: configuration.sessionSecret, secret: configuration.sessionSecret,
resave: false, resave: false,

@ -0,0 +1,4 @@
body {
/* FIXME: Replace with actual style */
background-color: bisque;
}

@ -10,6 +10,7 @@ module.exports = function Layout({ children }) {
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ANTI-META ADMIN PACT</title> <title>ANTI-META ADMIN PACT</title>
<link rel="stylesheet" href="/style.css" />
</head> </head>
<body> <body>
{children} {children}

Loading…
Cancel
Save