mirror of
https://github.com/wekan/wekan.git
synced 2025-12-22 10:20:14 +01:00
remove old attachment storagePath log message
This commit is contained in:
parent
bfef9fc14d
commit
1f277af722
1 changed files with 0 additions and 1 deletions
|
|
@ -85,7 +85,6 @@ if (Meteor.isServer) {
|
||||||
Meteor.startup(() => {
|
Meteor.startup(() => {
|
||||||
Attachments.collection._ensureIndex({ 'meta.cardId': 1 });
|
Attachments.collection._ensureIndex({ 'meta.cardId': 1 });
|
||||||
const storagePath = Attachments.storagePath();
|
const storagePath = Attachments.storagePath();
|
||||||
console.log("Meteor.startup check storagePath: ", storagePath);
|
|
||||||
if (!fs.existsSync(storagePath)) {
|
if (!fs.existsSync(storagePath)) {
|
||||||
console.log("create storagePath because it doesn't exist: " + storagePath);
|
console.log("create storagePath because it doesn't exist: " + storagePath);
|
||||||
fs.mkdirSync(storagePath, { recursive: true });
|
fs.mkdirSync(storagePath, { recursive: true });
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue