This commit is contained in:
2025-03-23 01:09:38 +01:00
parent 0378a8f766
commit 2f81ea4b96
2 changed files with 24 additions and 0 deletions

11
ejs/home.ejs Normal file
View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<title>Hyprcut</title>
<meta name='viewport' content='width=device-width, initial-scale=1'>
</head>
<body>
szia
</body>
</html>

View File

@@ -0,0 +1,13 @@
const express = require('express');
const path = require('path');
const app = express();
app.set('trust proxy', 1);
app.use(express.json());
app.use(express.urlencoded({ extended: true }));
app.set('view engine', 'ejs');
app.set('views', path.join(__dirname, 'ejs'));
app.get('/', (req, res) => {
res.render('home');
});