Remove used code
This commit is contained in:
parent
28c365813d
commit
7b886db11e
@ -206,14 +206,7 @@ let needSetup = false;
|
||||
// With Basic Auth using the first user's username/password
|
||||
app.get("/metrics", basicAuth, prometheusAPIMetrics());
|
||||
|
||||
app.use("/", express.static("dist", {
|
||||
enableBrotli: true,
|
||||
customCompressions: [{
|
||||
encodingName: "deflate",
|
||||
fileExtension: "zz"
|
||||
}],
|
||||
orderPreference: [ "br" ]
|
||||
}));
|
||||
app.use("/", express.static("dist"));
|
||||
|
||||
// ./data/upload
|
||||
app.use("/upload", express.static(Database.uploadDir));
|
||||
|
Loading…
x
Reference in New Issue
Block a user