File tree 2 files changed +7
-1
lines changed
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ if (isCli) {
238
238
if ( ! options . certKey && ! options . cert ) {
239
239
logger . warn ( "No certificate specified. \u001B[1mThis could be insecure." ) ;
240
240
// TODO: fill in appropriate doc url
241
- logger . warn ( "Documentation on securing your setup: https://coder .com/docs " ) ;
241
+ logger . warn ( "Documentation on securing your setup: https://github .com/codercom/code-server/blob/master/doc/security/ssl.md " ) ;
242
242
}
243
243
244
244
if ( ! options . noAuth ) {
Original file line number Diff line number Diff line change @@ -61,6 +61,12 @@ export class SharedProcess {
61
61
} ;
62
62
mkdir ( this . userDataDir ) ;
63
63
mkdir ( extensionsDir ) ;
64
+ const backupsDir = path . join ( this . userDataDir , "Backups" ) ;
65
+ mkdir ( backupsDir ) ;
66
+ const workspacesFile = path . join ( backupsDir , "workspaces.json" ) ;
67
+ if ( ! fs . existsSync ( workspacesFile ) ) {
68
+ fs . closeSync ( fs . openSync ( workspacesFile , "w" ) ) ;
69
+ }
64
70
65
71
this . setState ( {
66
72
state : SharedProcessState . Starting ,
You can’t perform that action at this time.
0 commit comments