packages/uptime-kuma: update patchset
This commit is contained in:
parent
bd8cc4f517
commit
32bd8dfaec
2 changed files with 0 additions and 14 deletions
|
@ -32,7 +32,6 @@ in
|
|||
|
||||
uptime-kuma.runtime-bugfixes = {
|
||||
patches = [
|
||||
./uptime-kuma/log-in-data-dir.patch
|
||||
./uptime-kuma/chmod-database.patch
|
||||
./uptime-kuma/data-dir-concat-with-slash.patch
|
||||
];
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
diff --git a/server/util-server.js b/server/util-server.js
|
||||
index 39a2d90..ecb404a 100644
|
||||
--- a/server/util-server.js
|
||||
+++ b/server/util-server.js
|
||||
@@ -528,7 +528,7 @@ exports.convertToUTF8 = (body) => {
|
||||
let logFile;
|
||||
|
||||
try {
|
||||
- logFile = fs.createWriteStream("./data/error.log", {
|
||||
+ logFile = fs.createWriteStream((process.env.DATA_DIR || ".") + "/error.log", {
|
||||
flags: "a"
|
||||
});
|
||||
} catch (_) { }
|
Loading…
Reference in a new issue