File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ See [STATUS.md](server/STATUS.md) to learn more about which features will remain
1818- Move Server-Timing header to crate ` simple-server-timing-header `
1919- Add ` POST ` + ` body ` support for Endpoints #592
2020- Refactor ` Endpoint ` handlers, uses a Context now #592
21+ - Re-build store + invite when adjusting server url #607
2122
2223## [ v0.34.1] - 2023-02-11
2324
Original file line number Diff line number Diff line change @@ -75,7 +75,9 @@ pub fn init(config: Config) -> AtomicServerResult<AppState> {
7575 } ;
7676 store. set_handle_commit ( Box :: new ( send_commit) ) ;
7777
78- if config. initialize {
78+ // If the user changes their server_url, the drive will not exist.
79+ // In this situation, we should re-build a new drive from scratch.
80+ if config. initialize || store. get_resource ( & config. server_url ) . is_err ( ) {
7981 tracing:: info!(
8082 "Running initialization commands (first time startup, or you passed --initialize)"
8183 ) ;
You can’t perform that action at this time.
0 commit comments