mirror of
https://github.com/georgemandis/bubo-rss.git
synced 2024-11-27 06:08:18 +00:00
Tweaked server for Glitch
This commit is contained in:
parent
1a9c60a4d6
commit
b429c213b8
@ -8,11 +8,11 @@ const app = express();
|
|||||||
// but feel free to use whatever libs or frameworks you'd like through `package.json`.
|
// but feel free to use whatever libs or frameworks you'd like through `package.json`.
|
||||||
|
|
||||||
// http://expressjs.com/en/starter/static-files.html
|
// http://expressjs.com/en/starter/static-files.html
|
||||||
app.use(express.static("output"));
|
app.use(express.static("public"));
|
||||||
|
|
||||||
// http://expressjs.com/en/starter/basic-routing.html
|
// http://expressjs.com/en/starter/basic-routing.html
|
||||||
app.get("/", function(request, response) {
|
app.get("/", function(request, response) {
|
||||||
response.sendFile(__dirname + "/output/index.html");
|
response.sendFile(__dirname + "/public/index.html");
|
||||||
});
|
});
|
||||||
|
|
||||||
// listen for requests :)
|
// listen for requests :)
|
||||||
|
Loading…
Reference in New Issue
Block a user