mirror of
https://github.com/georgemandis/bubo-rss.git
synced 2024-12-23 17:07:08 +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`.
|
||||
|
||||
// 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
|
||||
app.get("/", function(request, response) {
|
||||
response.sendFile(__dirname + "/output/index.html");
|
||||
response.sendFile(__dirname + "/public/index.html");
|
||||
});
|
||||
|
||||
// listen for requests :)
|
||||
|
Loading…
Reference in New Issue
Block a user