Change port to 80 temporarily
This commit is contained in:
@ -2,7 +2,7 @@ const express = require('express');
|
|||||||
const path = require('path');
|
const path = require('path');
|
||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
const app = express();
|
const app = express();
|
||||||
const port = 3000;
|
const port = 80;
|
||||||
|
|
||||||
app.use(express.static(path.join(__dirname, 'public')));
|
app.use(express.static(path.join(__dirname, 'public')));
|
||||||
app.use('/gps', express.static(path.join(__dirname, 'gps'))); // Serve static files from the gps directory
|
app.use('/gps', express.static(path.join(__dirname, 'gps'))); // Serve static files from the gps directory
|
||||||
|
Reference in New Issue
Block a user