mirror of
https://github.com/schollz/hostyoself.git
synced 2026-01-23 02:15:14 +00:00
add memes
This commit is contained in:
parent
b8641fc017
commit
45fa157308
5 changed files with 8 additions and 6 deletions
|
|
@ -1,8 +1,5 @@
|
|||
# omniserve
|
||||
![static/hostyoself2.png]
|
||||
|
||||
onetwoseven.site: 127 is the last network number in a class A network with a subnet mask of 255.0.0.0. 127.0.0.1 is the first assignable address in the subnet.
|
||||
|
||||
## FAQ
|
||||
|
||||
**How do I start web hosting?** You will need to setup port forwarding, a dynamic DNS, name registration, MySQL, PHP, Apache and take a online course in Javascript.
|
||||
|
||||
|
|
|
|||
|
|
@ -90,8 +90,10 @@ Disallow: /`))
|
|||
contentType = "text/javascript"
|
||||
case ".html":
|
||||
contentType = "text/html"
|
||||
case ".png":
|
||||
contentType = "image/png"
|
||||
}
|
||||
w.Header().Set("Content-Type", contentType + "; charset=utf-8")
|
||||
w.Header().Set("Content-Type", contentType)
|
||||
w.Write(b)
|
||||
return
|
||||
} else if r.URL.Path == "/" {
|
||||
|
|
|
|||
BIN
static/hostyoself.png
Normal file
BIN
static/hostyoself.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 569 KiB |
BIN
static/hostyoself2.png
Normal file
BIN
static/hostyoself2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 575 KiB |
|
|
@ -54,13 +54,16 @@
|
|||
border: none;
|
||||
font-weight: bold;
|
||||
font-family: var(--mono-font);
|
||||
font-size: 1em;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<main>
|
||||
<h1 align="center"><a href="/">hostyoself</a> </h1>
|
||||
<!-- <h1 align="center"><a href="/">hostyoself</a> </h1>
|
||||
-->
|
||||
<img src="/static/hostyoself2.png">
|
||||
<p id="errormessage" class="error"></p>
|
||||
<p>Your files will be relayed at <code>{{.PublicURL}}/<input type='text' id="inputDomain" class="editer" value="{{.GeneratedDomain}}" style="width:7em;"></code>. Multiple hosts can be used with this key: <code><input type='text' id="inputKey" class="editer" value="{{.GeneratedKey}}" style="width:3.5em;"></code>.</p>
|
||||
<details>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue