Skip to content

Commit

Permalink
Merge pull request #6 from tomcollis:tomcollis/issue5
Browse files Browse the repository at this point in the history
Static webpage not displayed on Deta Space
  • Loading branch information
tomcollis authored Jul 9, 2023
2 parents 0457cee + a848969 commit a40c00c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

[![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)
[![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)
[![GitHub stars](https://img.shields.io/github/stars/tomcollis/HookStack)](https://github.com/tomcollis/HookStack/stargazers)
[![GitHub issues](https://img.shields.io/github/issues/tomcollis/HookStack)](https://github.com/tomcollis/HookStack/issues)
[![Github All Releases download count](https://img.shields.io/github/downloads/tomcollis/HookStack/total.svg?style=flat)](https://github.com/tomcollis/HookStack/releases/latest)
Expand All @@ -28,7 +28,7 @@ ___

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

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

You can configure the required API key in app settings.
All data will be private in your own account.
Expand Down
6 changes: 5 additions & 1 deletion Spacefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@
v: 0
icon: img\HookStack-Logo_512px.png
micros:
- name: frontend
src: ./
engine: static
serve: /frontend
- name: HookStack
src: .
src: ./
engine: nodejs16
primary: true
run: "node index.js"
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,5 +166,5 @@ app.use(function(req, res){
const port = parseInt(process.env.PORT || 443);
app.listen(port, () => {
console.log(`HookStack: listening on port ${port}`);
console.log(`Version 0.0.6`);
console.log(`Version 0.0.11`);
});
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"url": "git+https://github.com/tomcollis/HookStack.git"
},
"main": "index.js",
"version": "0.0.10",
"version": "0.0.11",
"license": "GPL-3.0",
"dependencies": {
"deta": "^1.1.0",
Expand Down

0 comments on commit a40c00c

Please sign in to comment.