From 9f4d9a3f004c9a8720ba74b55b4b3c9acc51aac3 Mon Sep 17 00:00:00 2001 From: ssonglius11 Date: Fri, 2 Aug 2024 18:33:06 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E6=8F=90=E4=BA=A4?= =?UTF-8?q?=E5=BF=BD=E7=95=A5=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 2 +- core/.gitignore | 55 --------------------------------------- core/utils/xpack/xpack.go | 11 ++++++++ 3 files changed, 12 insertions(+), 56 deletions(-) delete mode 100644 core/.gitignore create mode 100644 core/utils/xpack/xpack.go diff --git a/.gitignore b/.gitignore index 87a51f9cb..2719bf865 100644 --- a/.gitignore +++ b/.gitignore @@ -48,7 +48,7 @@ agent/utils/xpack/xpack_xpack.go core/xpack core/router/entry_xpack.go core/server/init_xpack.go -xpack +core/utils/xpack/xpack_xpack.go .history/ dist/ diff --git a/core/.gitignore b/core/.gitignore deleted file mode 100644 index 70048d63a..000000000 --- a/core/.gitignore +++ /dev/null @@ -1,55 +0,0 @@ -# Binaries for programs and plugins -*.exe -*.exe~ -*.dll -*.so -*.dylib -build/1panel - -# Mac -.DS_Store -*/.DS_Store - -# VS Code -.vscode -*.project -*.factorypath - -# IntelliJ IDEA -.idea/* -!.idea/icon.png -*.iws -*.iml -*.ipr - - -# Test binary, built with `go test -c` -*.test - -# Output of the go coverage tool, specifically when used with LiteIDE -*.out - -# Dependency directories -/pkg/ -backend/__debug_bin -cmd/server/__debug_bin -cmd/server/web/assets -cmd/server/web/monacoeditorwork -cmd/server/web/index.html -frontend/auto-imports.d.ts -frontend/components.d.ts -frontend/src/xpack -backend/xpack -backend/router/entry_xpack.go -backend/server/init_xpack.go -backend/utils/xpack/xpack_xpack.go - -.history/ -dist/ -1pctl -1panel.service -install.sh -quick_start.sh -cmd/server/fileList.txt -.fileList.txt -1Panel.code-workspace diff --git a/core/utils/xpack/xpack.go b/core/utils/xpack/xpack.go new file mode 100644 index 000000000..322a53b00 --- /dev/null +++ b/core/utils/xpack/xpack.go @@ -0,0 +1,11 @@ +//go:build !xpack + +package xpack + +import ( + "github.com/gin-gonic/gin" +) + +func Proxy(c *gin.Context, currentNode string) error { + return nil +}