Update to add git pull path
This commit is contained in:
parent
d84be9dc6e
commit
fb41f973a4
1 changed files with 2 additions and 0 deletions
|
|
@ -266,6 +266,7 @@ async fn main() {
|
||||||
.route("/start", get(start))
|
.route("/start", get(start))
|
||||||
.route("/restart", get(restart))
|
.route("/restart", get(restart))
|
||||||
.route("/config", get(get_config))
|
.route("/config", get(get_config))
|
||||||
|
.route("/pull", get(git_pull))
|
||||||
.route("/auth/callback", get(oauth2_callback))
|
.route("/auth/callback", get(oauth2_callback))
|
||||||
.route("/auth/login", get(oauth2_login))
|
.route("/auth/login", get(oauth2_login))
|
||||||
.with_state(state);
|
.with_state(state);
|
||||||
|
|
@ -443,6 +444,7 @@ async fn root(_user: UserLoggedIn) -> Html<&'static str> {
|
||||||
<a href="/start">start</a><br>
|
<a href="/start">start</a><br>
|
||||||
<a href="/status">status</a><br>
|
<a href="/status">status</a><br>
|
||||||
<a href="/config">config</a><br>
|
<a href="/config">config</a><br>
|
||||||
|
<a href="/pull">git pull (ask before!)</a><br>
|
||||||
"#,
|
"#,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue