Initial Release: OpenQode Public Alpha v1.3
This commit is contained in:
17
temp_server.js
Normal file
17
temp_server.js
Normal file
@@ -0,0 +1,17 @@
|
||||
// Simple server to test if port 15044 works
|
||||
const express = require('express');
|
||||
const path = require('path');
|
||||
const app = express();
|
||||
const PORT = 15044;
|
||||
|
||||
// Serve static files from web directory
|
||||
app.use(express.static(path.join(__dirname, 'web')));
|
||||
|
||||
// Basic route
|
||||
app.get('/', (req, res) => {
|
||||
res.sendFile(path.join(__dirname, 'web', 'index.html'));
|
||||
});
|
||||
|
||||
app.listen(PORT, 'localhost', () => {
|
||||
console.log(`🚀 Test server running on http://localhost:${PORT}`);
|
||||
});
|
||||
Reference in New Issue
Block a user