Co-authored-by: 0xSC <unknown@a.com>
This commit is contained in:
0xP0 2024-04-25 11:46:49 +08:00 committed by GitHub
parent f1bf71501e
commit 9bf256b828
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 46 additions and 21 deletions

View File

@ -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

View File

@ -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

View File

@ -33,18 +33,43 @@ const (
<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;
}
.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> </style>
</head> </head>
<body> <body>
<h1>The page you requested was not found.</h1> <h1>GaiaNet node is not started.</h1>
<p>Sorry, the page you are looking for is currently unavailable.<br/> <p>Please return to the terminal window and execute the start command.</p>
Please try again later.</p> <div class="code">
<p>The server is powered by <a href="https://github.com/fatedier/frp">frp</a>.</p> <pre>
<p><em>Faithfully yours, frp.</em></p> bash &lt;(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> </body>
</html> </html>
` `