chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58a27a7
)
actually save (!)
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 3 Sep 2020 00:40:29 +0000
(
01:40
+0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 3 Sep 2020 00:40:29 +0000
(
01:40
+0100)
src/bin/server.rs
patch
|
blob
|
history
diff --git
a/src/bin/server.rs
b/src/bin/server.rs
index 39c94cf98e066b4d50bcc45c3985437b857cba58..9cd9db27dd6e781394ec7e6f744e574bacf8a86c 100644
(file)
--- a/
src/bin/server.rs
+++ b/
src/bin/server.rs
@@
-103,6
+103,8
@@
fn main() {
cbuilder.extras.insert("template_dir".to_owned(),
c.template_dir.clone().into());
+ thread::spawn(game_flush_task);
+
let cors_state = {
use rocket_cors::*;
let opts = CorsOptions::default()