mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-19 12:54:24 +02:00
Remove accidentally added files
This commit is contained in:
parent
7fc84a085e
commit
131dcc1a17
3 changed files with 0 additions and 1342985 deletions
File diff suppressed because it is too large
Load diff
|
@ -1,25 +0,0 @@
|
|||
From cd6eb82cf1f4ca4461bab6b031bc182362e28989 Mon Sep 17 00:00:00 2001
|
||||
From: Ivan Davydov <lotigara@lotigara.ru>
|
||||
Date: Fri, 16 Aug 2024 16:31:59 +0300
|
||||
Subject: [PATCH] Fix warning in server/startup.go
|
||||
|
||||
---
|
||||
server/startup.go | 5 +----
|
||||
1 file changed, 1 insertion(+), 4 deletions(-)
|
||||
|
||||
diff --git a/server/startup.go b/server/startup.go
|
||||
index e32e749..343e00c 100644
|
||||
--- a/server/startup.go
|
||||
+++ b/server/startup.go
|
||||
@@ -81,10 +81,7 @@ func Serve(ctx *cli.Context) error {
|
||||
|
||||
var listener net.Listener
|
||||
if cfg.Server.HttpOnlyMode {
|
||||
- log.Info().Msgf(`Starting pages-server in HTTP-only mode. Some
|
||||
- features like encrypted connections and custom
|
||||
- domains are not available in this mode. It is advisable
|
||||
- to run behind a reverse-proxy.`)
|
||||
+ log.Warn().Msgf("Starting pages-server in HTTP-only mode. Some features like encrypted connections and custom domains are not available in this mode. It is advisable to run behind a reverse-proxy.")
|
||||
log.Info().Msgf("Create TCP listener on %s", listeningHTTPAddress)
|
||||
listener_, err := net.Listen("tcp", listeningHTTPAddress)
|
||||
if err != nil {
|
Binary file not shown.
Loading…
Add table
Reference in a new issue