Change layout to look more like WhatsApp for Windows Phone and less like AI slop.
This commit is contained in:
parent
584abdb00e
commit
9d77ea5a97
9 changed files with 132 additions and 113 deletions
4
index.js
4
index.js
|
|
@ -3,14 +3,14 @@ import path from "path";
|
|||
import { fileURLToPath } from "url";
|
||||
|
||||
const app = express();
|
||||
const PORT = process.env.PORT || 3100;
|
||||
const PORT = process.env.PORT || 3200;
|
||||
|
||||
// Resolve __dirname in ES modules
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = path.dirname(__filename);
|
||||
|
||||
// Serve static assets from the public folder
|
||||
app.use(express.static(path.join(__dirname, "public")));
|
||||
app.use(express.static(path.join(__dirname, "docs")));
|
||||
|
||||
// Start static file server
|
||||
app.listen(PORT, () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue