Merged server and client code into single repo
This commit is contained in:
		
							
								
								
									
										61
									
								
								server/public/404.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										61
									
								
								server/public/404.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,61 @@
 | 
			
		||||
<!doctype html>
 | 
			
		||||
<html lang="en">
 | 
			
		||||
 | 
			
		||||
<head>
 | 
			
		||||
  <meta charset="utf-8">
 | 
			
		||||
  <title>Page Not Found</title>
 | 
			
		||||
  <meta name="viewport" content="width=device-width, initial-scale=1">
 | 
			
		||||
  <style>
 | 
			
		||||
    * {
 | 
			
		||||
      line-height: 1.2;
 | 
			
		||||
      margin: 0;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    html {
 | 
			
		||||
      color: #888;
 | 
			
		||||
      display: table;
 | 
			
		||||
      font-family: sans-serif;
 | 
			
		||||
      height: 100%;
 | 
			
		||||
      text-align: center;
 | 
			
		||||
      width: 100%;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    body {
 | 
			
		||||
      display: table-cell;
 | 
			
		||||
      vertical-align: middle;
 | 
			
		||||
      margin: 2em auto;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    h1 {
 | 
			
		||||
      color: #555;
 | 
			
		||||
      font-size: 2em;
 | 
			
		||||
      font-weight: 400;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    p {
 | 
			
		||||
      margin: 0 auto;
 | 
			
		||||
      width: 280px;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @media only screen and (max-width: 280px) {
 | 
			
		||||
 | 
			
		||||
      body,
 | 
			
		||||
      p {
 | 
			
		||||
        width: 95%;
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
      h1 {
 | 
			
		||||
        font-size: 1.5em;
 | 
			
		||||
        margin: 0 0 0.3em;
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
    }
 | 
			
		||||
  </style>
 | 
			
		||||
</head>
 | 
			
		||||
 | 
			
		||||
<body>
 | 
			
		||||
  <h1>Page Not Found</h1>
 | 
			
		||||
  <p>Sorry, but the page you were trying to view does not exist.</p>
 | 
			
		||||
</body>
 | 
			
		||||
 | 
			
		||||
</html>
 | 
			
		||||
							
								
								
									
										16
									
								
								server/public/index.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								server/public/index.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
			
		||||
<!doctype html>
 | 
			
		||||
<html lang="">
 | 
			
		||||
 | 
			
		||||
<head>
 | 
			
		||||
  <meta charset="utf-8">
 | 
			
		||||
  <title>Pico HTTP server</title>
 | 
			
		||||
  <meta name="description" content="This is a very simple HTTP server for Unix, using fork(). It's very easy to use.">
 | 
			
		||||
  <meta name="viewport" content="width=device-width, initial-scale=1">
 | 
			
		||||
 | 
			
		||||
</head>
 | 
			
		||||
 | 
			
		||||
<body>
 | 
			
		||||
  <h1>Hello world!</h1>
 | 
			
		||||
</body>
 | 
			
		||||
 | 
			
		||||
</html>
 | 
			
		||||
							
								
								
									
										5
									
								
								server/public/robots.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								server/public/robots.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
# www.robotstxt.org/
 | 
			
		||||
 | 
			
		||||
# Allow crawling of all content
 | 
			
		||||
User-agent: *
 | 
			
		||||
Disallow:
 | 
			
		||||
		Reference in New Issue
	
	Block a user