Skip to content

Commit fe0984c

Browse files
committed
restructure static files
1 parent f6dcec2 commit fe0984c

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed
File renamed without changes.

index.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,8 @@ function error(status, msg) {
2626
// the following, accepts http get requests and provides
2727
// a simple help guide or introduction
2828

29-
app.get('/', function(req, res){
30-
res.status(200);
31-
res.set('Cache-control', `no-store`)
32-
res.sendFile(path.join(__dirname, "/index.html"));
29+
app.get('/', function(req, res) {
30+
res.sendFile(path.join(__dirname, '/frontend/index.html'));
3331
});
3432

3533
// the following, accepts any http posts that contains data

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"url": "git+https://github.com/tomcollis/HookStack.git"
1717
},
1818
"main": "index.js",
19-
"version": "0.0.6",
19+
"version": "0.0.7",
2020
"license": "GPL-3.0",
2121
"dependencies": {
2222
"deta": "^1.1.0",

0 commit comments

Comments
 (0)