From 9bf256b828202793b2c7fed1d3fa87bc491cc186 Mon Sep 17 00:00:00 2001 From: 0xP0 Date: Thu, 25 Apr 2024 11:46:49 +0800 Subject: [PATCH] v0.1.1 (#1) Co-authored-by: 0xSC --- package.sh | 2 +- pkg/util/version/version.go | 2 +- pkg/util/vhost/resource.go | 63 ++++++++++++++++++++++++++----------- 3 files changed, 46 insertions(+), 21 deletions(-) diff --git a/package.sh b/package.sh index fd47f86f..c3a65373 100755 --- a/package.sh +++ b/package.sh @@ -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 diff --git a/pkg/util/version/version.go b/pkg/util/version/version.go index d26d99fa..d8b987be 100644 --- a/pkg/util/version/version.go +++ b/pkg/util/version/version.go @@ -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 diff --git a/pkg/util/vhost/resource.go b/pkg/util/vhost/resource.go index a65e2997..36814da5 100644 --- a/pkg/util/vhost/resource.go +++ b/pkg/util/vhost/resource.go @@ -28,25 +28,50 @@ var NotFoundPagePath = "" const ( NotFound = ` - - -Not Found - - - -

The page you requested was not found.

-

Sorry, the page you are looking for is currently unavailable.
-Please try again later.

-

The server is powered by frp.

-

Faithfully yours, frp.

- - + + + Not Found + + + +

GaiaNet node is not started.

+

Please return to the terminal window and execute the start command.

+
+
+	bash <(curl -sSfl "https://raw.githubusercontent.com/GaiaNet-AI/gaianet-node/main/start.sh")
+
+

+ Visit https://www.gaianet.ai for more + information. +

+ + ` )