Skip to content

Commit a40c00c

Browse files
authored
Merge pull request #6 from tomcollis:tomcollis/issue5
Static webpage not displayed on Deta Space
2 parents 0457cee + a848969 commit a40c00c

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
![HookStack](https://github.com/tomcollis/HookStack/blob/main/img/HookStack-Banner.png?raw=true)
44

5-
[![Buy me coffee](https://img.shields.io/badge/Buy%20me%20-coffee!-orange.svg?logo=buy-me-a-coffee&color=795548)](https://paypal.me/TomCollisUK/2)
5+
[![Buy me coffee](https://img.shields.io/badge/Buy%20me%20-coffee!-orange.svg?logo=buy-me-a-coffee&color=795548)](https://paypal.me/TomCollisUK/3)
66
[![GitHub stars](https://img.shields.io/github/stars/tomcollis/HookStack)](https://github.com/tomcollis/HookStack/stargazers)
77
[![GitHub issues](https://img.shields.io/github/issues/tomcollis/HookStack)](https://github.com/tomcollis/HookStack/issues)
88
[![Github All Releases download count](https://img.shields.io/github/downloads/tomcollis/HookStack/total.svg?style=flat)](https://github.com/tomcollis/HookStack/releases/latest)
@@ -28,7 +28,7 @@ ___
2828

2929
## Deploy to [Deta Space](https://deta.space/)
3030

31-
[Deta Space - v0.0.10](https://deta.space/discovery/r/d3ym5spf7cytxjsy)
31+
[Deta Space - v0.0.11](https://deta.space/discovery/r/wclfw7wygeujrgxn)
3232

3333
You can configure the required API key in app settings.
3434
All data will be private in your own account.

Spacefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@
22
v: 0
33
icon: img\HookStack-Logo_512px.png
44
micros:
5+
- name: frontend
6+
src: ./
7+
engine: static
8+
serve: /frontend
59
- name: HookStack
6-
src: .
10+
src: ./
711
engine: nodejs16
812
primary: true
913
run: "node index.js"

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,5 +166,5 @@ app.use(function(req, res){
166166
const port = parseInt(process.env.PORT || 443);
167167
app.listen(port, () => {
168168
console.log(`HookStack: listening on port ${port}`);
169-
console.log(`Version 0.0.6`);
169+
console.log(`Version 0.0.11`);
170170
});

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.10",
19+
"version": "0.0.11",
2020
"license": "GPL-3.0",
2121
"dependencies": {
2222
"deta": "^1.1.0",

0 commit comments

Comments
 (0)