Copy Rocket.toml to /usr/share/peach-web
This commit is contained in:
parent
e34df3b656
commit
c41dae8d04
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -2541,7 +2541,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "peach-web"
|
||||
version = "0.4.12"
|
||||
version = "0.4.14"
|
||||
dependencies = [
|
||||
"env_logger 0.8.4",
|
||||
"log 0.4.14",
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "peach-web"
|
||||
version = "0.4.12"
|
||||
version = "0.4.14"
|
||||
authors = ["Andrew Reid <gnomad@cryptolab.net>"]
|
||||
edition = "2018"
|
||||
description = "peach-web is a web application which provides a web interface for monitoring and interacting with the PeachCloud device. This allows administration of the single-board computer (ie. Raspberry Pi) running PeachCloud, as well as the ssb-server and related plugins."
|
||||
@ -21,6 +21,7 @@ maintainer-scripts="debian"
|
||||
systemd-units = { unit-name = "peach-web" }
|
||||
assets = [
|
||||
["target/release/peach-web", "/usr/bin/", "755"],
|
||||
["Rocket.toml", "/usr/share/peach-web/Rocket.toml", "644"],
|
||||
["templates/**/*", "/usr/share/peach-web/templates/", "644"],
|
||||
["static/*", "/usr/share/peach-web/static/", "644"],
|
||||
["static/css/*", "/usr/share/peach-web/static/css/", "644"],
|
||||
|
@ -1,3 +1,6 @@
|
||||
[default]
|
||||
secret = "VYVUDivXvu8g6llxeJd9F92pMfocml5xl/Jjv5Sk4yw="
|
||||
|
||||
[development]
|
||||
template_dir = "templates/"
|
||||
disable_auth = true
|
||||
|
Loading…
Reference in New Issue
Block a user