Compare commits
No commits in common. "7575193024627e6b012ad3505fb7e4fc29646979" and "633dd854b36700084bb87981fffb829943f4e5a1" have entirely different histories.
7575193024
...
633dd854b3
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,8 +1,10 @@
|
|||||||
/node_modules/
|
/node_modules/
|
||||||
/build/
|
/public/build/
|
||||||
|
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|
||||||
__debug_bin
|
__debug_bin
|
||||||
|
|
||||||
|
bin/
|
||||||
|
static/
|
||||||
homeservice.tar.gz
|
homeservice.tar.gz
|
||||||
|
2
Makefile
2
Makefile
@ -7,7 +7,7 @@ SYSTEM_DIR := /usr/lib/systemd/system
|
|||||||
WEB_DIR := /var/lib/$(PROJECT_NAME)
|
WEB_DIR := /var/lib/$(PROJECT_NAME)
|
||||||
|
|
||||||
CONFIG_FILE := config/config.json
|
CONFIG_FILE := config/config.json
|
||||||
BIN_FILE := build/bin/$(PROJECT_NAME)
|
BIN_FILE := bin/$(PROJECT_NAME)
|
||||||
UNIT_FILE := $(PROJECT_NAME).service
|
UNIT_FILE := $(PROJECT_NAME).service
|
||||||
README_FILE := README.md
|
README_FILE := README.md
|
||||||
|
|
||||||
|
2
main.go
2
main.go
@ -74,7 +74,7 @@ func main() {
|
|||||||
logger.Println("starting")
|
logger.Println("starting")
|
||||||
|
|
||||||
var webui_path string
|
var webui_path string
|
||||||
flag.StringVar(&webui_path, "d", "./build/webui", "Specify path to serve the web ui. Default is ./static")
|
flag.StringVar(&webui_path, "d", "./static", "Specify path to serve the web ui. Default is ./static")
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
|
|
||||||
// MQTT connection
|
// MQTT connection
|
||||||
|
@ -1,2 +1 @@
|
|||||||
export const prerender = true;
|
export const prerender = true;
|
||||||
export const trailingSlash = 'always';
|
|
||||||
|
@ -8,8 +8,8 @@
|
|||||||
</svelte:head>
|
</svelte:head>
|
||||||
|
|
||||||
<section id='content_id' class='content'>
|
<section id='content_id' class='content'>
|
||||||
<h1>Home</h1>
|
|
||||||
<figure>
|
<figure>
|
||||||
<img src={icon} alt="Home" width=150/>
|
<img src={icon} alt="Home" width=150/>
|
||||||
</figure>
|
</figure>
|
||||||
|
<h1>Home</h1>
|
||||||
</section>
|
</section>
|
||||||
|
@ -1,2 +1 @@
|
|||||||
export const prerender = true;
|
export const prerender = true;
|
||||||
export const trailingSlash = 'always';
|
|
||||||
|
@ -113,10 +113,10 @@
|
|||||||
</svelte:head>
|
</svelte:head>
|
||||||
|
|
||||||
<section id='content_id' class='content'>
|
<section id='content_id' class='content'>
|
||||||
<h1>Chicken</h1>
|
|
||||||
<figure>
|
<figure>
|
||||||
<img src={icon} alt="Chicken" width=150/>
|
<img src={icon} alt="Chicken" width=150/>
|
||||||
</figure>
|
</figure>
|
||||||
|
<h1>Chicken</h1>
|
||||||
<hr>
|
<hr>
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -1,2 +1 @@
|
|||||||
export const prerender = true;
|
export const prerender = true;
|
||||||
export const trailingSlash = 'always';
|
|
||||||
|
@ -34,9 +34,9 @@
|
|||||||
</svelte:head>
|
</svelte:head>
|
||||||
|
|
||||||
<section id='content_id' class='content'>
|
<section id='content_id' class='content'>
|
||||||
<h1>Sauna</h1>
|
<h1>{temperature_value} {temperature_unit}</h1>
|
||||||
<figure>
|
<figure>
|
||||||
<img src={icon} alt="Sauna" width=150/>
|
<img src={icon} alt="Sauna" width=150/>
|
||||||
</figure>
|
</figure>
|
||||||
<h1>{temperature_value} {temperature_unit}</h1>
|
<h1>Sauna</h1>
|
||||||
</section>
|
</section>
|
||||||
|
@ -17,3 +17,4 @@ const config = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export default config;
|
export default config;
|
||||||
|
export const trailingSlash = 'always';
|
Loading…
Reference in New Issue
Block a user