parent
f1bf71501e
commit
9bf256b828
@ -24,7 +24,7 @@ cd ./release
|
|||||||
|
|
||||||
for os in $os_all; do
|
for os in $os_all; do
|
||||||
for arch in $arch_all; do
|
for arch in $arch_all; do
|
||||||
frp_dir_name="frp_${frp_version}_${os}_${arch}"
|
frp_dir_name="gaianet_domain_${frp_version}_${os}_${arch}"
|
||||||
frp_path="./packages/gaianet_domain_${frp_version}_${os}_${arch}"
|
frp_path="./packages/gaianet_domain_${frp_version}_${os}_${arch}"
|
||||||
|
|
||||||
if [ "x${os}" = x"windows" ]; then
|
if [ "x${os}" = x"windows" ]; then
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
package version
|
package version
|
||||||
|
|
||||||
var version = "v0.1.0-alpha.1"
|
var version = "v0.1.1-alpha.1"
|
||||||
|
|
||||||
func Full() string {
|
func Full() string {
|
||||||
return version
|
return version
|
||||||
|
@ -28,25 +28,50 @@ var NotFoundPagePath = ""
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
NotFound = `<!DOCTYPE html>
|
NotFound = `<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Not Found</title>
|
<title>Not Found</title>
|
||||||
<style>
|
<style>
|
||||||
body {
|
body {
|
||||||
width: 35em;
|
width: 100%;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
font-family: Tahoma, Verdana, Arial, sans-serif;
|
font-family: Tahoma, Verdana, Arial, sans-serif;
|
||||||
|
text-align: center;
|
||||||
|
color: #fff;
|
||||||
|
background-color: #000;
|
||||||
}
|
}
|
||||||
</style>
|
.code {
|
||||||
</head>
|
color: #000;
|
||||||
<body>
|
padding: 10px; /* Some padding for aesthetics */
|
||||||
<h1>The page you requested was not found.</h1>
|
border-radius: 4px; /* Optional: rounded corners */
|
||||||
<p>Sorry, the page you are looking for is currently unavailable.<br/>
|
font-family: monospace; /* Monospace font for code */
|
||||||
Please try again later.</p>
|
width: 800px;
|
||||||
<p>The server is powered by <a href="https://github.com/fatedier/frp">frp</a>.</p>
|
margin: 0 auto;
|
||||||
<p><em>Faithfully yours, frp.</em></p>
|
background-color: #ddd;
|
||||||
</body>
|
}
|
||||||
</html>
|
a {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
h1 {
|
||||||
|
margin-top: 120px;
|
||||||
|
margin-bottom: 38px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>GaiaNet node is not started.</h1>
|
||||||
|
<p>Please return to the terminal window and execute the start command.</p>
|
||||||
|
<div class="code">
|
||||||
|
<pre>
|
||||||
|
bash <(curl -sSfl "https://raw.githubusercontent.com/GaiaNet-AI/gaianet-node/main/start.sh")</pre
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
<p>
|
||||||
|
Visit <a href="https://www.gaianet.ai">https://www.gaianet.ai</a> for more
|
||||||
|
information.
|
||||||
|
</p>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
`
|
`
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user