13 lines
344 B
JavaScript
13 lines
344 B
JavaScript
const express = require('express');
|
||
const path = require('path');
|
||
|
||
const app = express();
|
||
const PORT = process.env.PORT || 3000;
|
||
|
||
// Statik dosyaları public klasöründen servis et
|
||
app.use(express.static(path.join(__dirname, 'public')));
|
||
|
||
app.listen(PORT, () => {
|
||
console.log(`Pathfinder AI çalışıyor → http://localhost:${PORT}`);
|
||
});
|