Compare commits
	
		
			2 Commits
		
	
	
		
			f1a2c5ae8e
			...
			0bac9d8d5a
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 0bac9d8d5a | |||
| a9608363c5 | 
| @@ -6,6 +6,7 @@ jobs: | |||||||
|   Build-All: |   Build-All: | ||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|     container: |     container: | ||||||
|  |       image: debian:bookworm | ||||||
|       valid_volumes: ['/opt/keys'] |       valid_volumes: ['/opt/keys'] | ||||||
|       volumes: |       volumes: | ||||||
|         - /opt/keys:/opt/keys |         - /opt/keys:/opt/keys | ||||||
|   | |||||||
							
								
								
									
										36
									
								
								core/core.js
									
									
									
									
									
								
							
							
						
						
									
										36
									
								
								core/core.js
									
									
									
									
									
								
							| @@ -844,23 +844,25 @@ loadSettings() | |||||||
| 			httpd.set_http_redirect(settings.http_redirect); | 			httpd.set_http_redirect(settings.http_redirect); | ||||||
| 		} | 		} | ||||||
| 		httpd.all('/app/socket', app.socket); | 		httpd.all('/app/socket', app.socket); | ||||||
| 		let port = httpd.start(tildefriends.http_port); | 		if (tildefriends.http_port > 0 || tildefriends.args.out_http_port_file) { | ||||||
| 		if (tildefriends.args.out_http_port_file) { | 			let port = httpd.start(tildefriends.http_port); | ||||||
| 			print('Writing the port file.'); | 			if (tildefriends.args.out_http_port_file) { | ||||||
| 			File.writeFile( | 				print('Writing the port file.'); | ||||||
| 				tildefriends.args.out_http_port_file, | 				File.writeFile( | ||||||
| 				port.toString() + '\n' | 					tildefriends.args.out_http_port_file, | ||||||
| 			) | 					port.toString() + '\n' | ||||||
| 				.then(function (r) { | 				) | ||||||
| 					print( | 					.then(function (r) { | ||||||
| 						'Wrote the port file:', | 						print( | ||||||
| 						tildefriends.args.out_http_port_file, | 							'Wrote the port file:', | ||||||
| 						r | 							tildefriends.args.out_http_port_file, | ||||||
| 					); | 							r | ||||||
| 				}) | 						); | ||||||
| 				.catch(function () { | 					}) | ||||||
| 					print('Failed to write the port file.'); | 					.catch(function () { | ||||||
| 				}); | 						print('Failed to write the port file.'); | ||||||
|  | 					}); | ||||||
|  | 			} | ||||||
| 		} | 		} | ||||||
|  |  | ||||||
| 		if (tildefriends.https_port) { | 		if (tildefriends.https_port) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user