mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-06 13:58:05 +03:00
Improve running own CDN message
This commit is contained in:
@@ -109,7 +109,7 @@ if (ServerConfig.RUN_OWN_CDN) {
|
||||
`Running OWN_CDN in production. Consider making a separate process handle your CDN for performance.`
|
||||
);
|
||||
} else if (process.env.NODE_ENV !== "test") {
|
||||
logger.info("Running own CDN.");
|
||||
logger.info(`Running own CDN at ${ServerConfig.CDN_FILE_ROOT}.`);
|
||||
}
|
||||
|
||||
app.use("/cdn", express.static(ServerConfig.CDN_FILE_ROOT));
|
||||
|
||||
Reference in New Issue
Block a user