1. Richo Healey
  2. ident.so

Commits

Richo Healey  committed 7c36b45

Enable a 404 route

  • Participants
  • Parent commits b8cc7a4
  • Branches master

Comments (0)

Files changed (1)

File main.scm

View file
                (display "HTTP/1.0 200 OK\r\n" out)
                (display "Server: k\r\nContent-Type: text/html\r\n\r\n" out)
                (display "<html><body>rawr</body></html>" out))
+            (else
+               (display "HTTP/1.0 200 OK\r\n" out)
+               (display "Server: k\r\nContent-Type: text/html\r\n\r\n" out)
+               (display "<html><body>Trolololol</body></html>" out))
             )
       (close-input-port in)
       (close-output-port out)