1
0
Fork 0
forked from svrjs/svrjs

Make the default page fit on very small screens

This commit is contained in:
Dorian Niemiec 2024-03-03 16:05:56 +01:00
parent 1a9f31c5d0
commit c05948467f

View file

@ -14,16 +14,18 @@
<body>
<h1>Welcome to SVR.JS Nightly-GitMain</h1>
<div style="background-color: #ffff00; border-color: #ff7f00; border-width: 5px; border-style: solid; padding: 5px; display: inline-block;">
<b style="font-size: 20pt">WARNING!</b><br/>
<b style="font-size: 26px">WARNING!</b><br/>
This version is only for test purposes and may be unstable.
</div>
<br/>
<img src="/logo.png" style="width: 256px;" />
<br/>
<div style="width: 256px; margin: auto; display: inline-block;">
<img src="/logo.png" style="width: 100%; max-width: 256px; _width: 256px;" />
<br/>
</div>
<p>If you see this page that means that the server is working properly. You can further configure the server and replace <i>index.html</i> and <i>tests.html</i> pages with custom ones.</p>
<p>Default <i>config.json</i> looks like this:</p>
<code style="background-color: #e0e0e0; padding: 5px; text-align: left; display: block; display: inline-block;">
<pre style="margin: 0.2em; white-space: pre-wrap;">{
<pre style="margin: 0.2em; white-space: pre-wrap; overflow-wrap: break-word; word-wrap: break-word; word-break: break-all; word-break: break-word">{
"users": [],
"port": 80,
"pubport": 80,