Split base URL to protocol and domain
Dependencies
- [2]
ZRU62WXDSend email with change game password link - [3]
TRBYOQBICheck CSRF and user existence - [4]
HZDCKIXQUse constants for templates - [5]
4JK5O45HStart support for XMPP game password change - [6]
I7JG43BJRename cache to use yet another - [7]
DGGFYSEGUse non-escaped template for Atom XML - [8]
7R6HAATPOptional publish static files if use reverse-proxy - [9]
ZE5UFPX4Add TTL cache for CSRF - [10]
CMA5SKJ3Copy turns Atom generator - [11]
3HT5CE6SManage TTL duration in config - [12]
WVHXYKCVAdd postgresql pools - [13]
556ZESEOAdd RSS for new games - [14]
Z3SYSC25Add SMTP configuration - [15]
5UYVIBUMUpdate game password from page - [16]
ED42QYMUFix template name - [17]
I6SOPEQFCreate and store reset password token - [*]
EVP2FSBHSplit index page - [*]
4MZ4VIR7Initial commit - [*]
BCXEUKX6Add config, static files and web server
Change contents
- replacement in src/pages/query_reset_game_pwd.rs at line 180
let token_url = format!("{}reset-game-pwd-{}.html", data.base_url, token);let token_url = format!("{}://{}/reset-game-pwd-{}.html",data.base_proto, data.base_domain, token); - replacement in src/pages/mod.rs at line 34
pub base_url: String,pub base_proto: String,pub base_domain: String, - replacement in src/pages/atom/turns.rs at line 94
selflink: data.base_url.to_string(),selflink: format!("{}://{}/", data.base_proto, data.base_domain), - replacement in src/pages/atom/games.rs at line 96
selflink: data.base_url.to_string(),selflink: format!("{}://{}/", data.base_proto, data.base_domain), - replacement in src/main.rs at line 49
base_url,base_proto,base_domain, - replacement in src/main.rs at line 137
base_url,base_proto,base_domain, - replacement in src/config.rs at line 34
pub base_url: String,pub base_proto: String,pub base_domain: String,