parent
f1bf71501e
commit
9bf256b828
@ -24,7 +24,7 @@ cd ./release
|
||||
|
||||
for os in $os_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}"
|
||||
|
||||
if [ "x${os}" = x"windows" ]; then
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
package version
|
||||
|
||||
var version = "v0.1.0-alpha.1"
|
||||
var version = "v0.1.1-alpha.1"
|
||||
|
||||
func Full() string {
|
||||
return version
|
||||
|
@ -28,25 +28,50 @@ var NotFoundPagePath = ""
|
||||
|
||||
const (
|
||||
NotFound = `<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Not Found</title>
|
||||
<style>
|
||||
<html>
|
||||
<head>
|
||||
<title>Not Found</title>
|
||||
<style>
|
||||
body {
|
||||
width: 35em;
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
font-family: Tahoma, Verdana, Arial, sans-serif;
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
background-color: #000;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>The page you requested was not found.</h1>
|
||||
<p>Sorry, the page you are looking for is currently unavailable.<br/>
|
||||
Please try again later.</p>
|
||||
<p>The server is powered by <a href="https://github.com/fatedier/frp">frp</a>.</p>
|
||||
<p><em>Faithfully yours, frp.</em></p>
|
||||
</body>
|
||||
</html>
|
||||
.code {
|
||||
color: #000;
|
||||
padding: 10px; /* Some padding for aesthetics */
|
||||
border-radius: 4px; /* Optional: rounded corners */
|
||||
font-family: monospace; /* Monospace font for code */
|
||||
width: 800px;
|
||||
margin: 0 auto;
|
||||
background-color: #ddd;
|
||||
}
|
||||
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