diff --git a/flake.lock b/flake.lock index 7cb17cb..23d8bbe 100644 --- a/flake.lock +++ b/flake.lock @@ -95,11 +95,11 @@ "nixpkgs": "nixpkgs" }, "locked": { - "lastModified": 1779563912, - "narHash": "sha256-g3nD9EAIaz/iQUO7ld4/7Cgn9EEa5BWtFGLaRh104nU=", + "lastModified": 1779737395, + "narHash": "sha256-T3zeCIuR3yhCuuShS3gki7kovF430mGnU62h3tdgGhA=", "ref": "refs/heads/main", - "rev": "8c0d74be89894896f95486330a0e1df54d40d6b5", - "revCount": 13, + "rev": "c8513c3a285c241c4d7ca430478302028266febf", + "revCount": 14, "type": "git", "url": "https://code.capytal.cc/sixsides/favelasmp" }, diff --git a/services/minecraft-servers.nix b/services/minecraft-servers.nix index c47f2c6..a61f9ff 100644 --- a/services/minecraft-servers.nix +++ b/services/minecraft-servers.nix @@ -212,6 +212,7 @@ in { } ]; username = "Git Pack Manager"; + avatar_url = "https://favelasmp.guz.one/favicon.png"; attachments = []; }; in @@ -334,6 +335,7 @@ in { } ], "username": "FavelaSMP" + "avatar_url": "https://favelasmp.guz.one/favicon.png" }' "$(date -u +%FT%TZ)")" ${getExe pkgs.curl} -X POST "$webhook" \ @@ -359,13 +361,8 @@ in { bluemapServer = cfg.servers."favelasmp".files."config/bluemap/webserver.conf".value; in { extraConfig = '' - header Content-Type text/html - respond < - FavelaSMP -

Hello, FavelaSMP

- - HTML 200 + root ${inputs.favelasmp.packages.${pkgs.stdenv.hostPlatform.system}.web} + file_server handle /git-pack-manager* { reverse_proxy http://localhost:${toString meshLib.httpPort} {