mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 15:42:44 +00:00 
			
		
		
		
	 6c752c15a2
			
		
	
	
		6c752c15a2
		
	
	
	
	
		
			
			This server listens on port 8000 and serves HTML files from /www. It's very simple and quite naive, but I think we can start here and build our way to something pretty neat. Work towards #792.
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			516 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			516 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!DOCTYPE>
 | |
| <html>
 | |
|     <head><title>WebServer start page!</title></head>
 | |
|     <body>
 | |
|         <h1>SerenityOS WebServer start page!</h1>
 | |
|         <p>
 | |
|             <b>Congratulations!</b>
 | |
|         </p>
 | |
|         <p>
 | |
|             If you are reading this in a browser, I think we may have
 | |
|             succeeded! Unless of course you just loaded the local file
 | |
|             in your browser (cheater!) :^)
 | |
|         </p>
 | |
|         <p>
 | |
|             Try this <a href="other.html">link</a> to another page!
 | |
|         </p>
 | |
|     </body>
 | |
| </html>
 |