Numex yayın: server.js
This commit is contained in:
parent
63b8c62a7a
commit
4896427c9c
12
server.js
Normal file
12
server.js
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
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}`);
|
||||
});
|
||||
Loading…
Reference in New Issue
Block a user