mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2026-04-28 11:17:38 +02:00
p2p syncing refactor
This commit is contained in:
+2
-1
@@ -11,6 +11,7 @@ import {
|
||||
import logger from './logger'
|
||||
import utils from './utils'
|
||||
import { HttpsFiles } from '../types/basicTypes'
|
||||
import path from 'node:path'
|
||||
|
||||
// FIXME: remove all file exists checks from everywhere for files that are created / checked here
|
||||
|
||||
@@ -324,7 +325,7 @@ export const files = {
|
||||
// user files
|
||||
// --------------------------------------------------------------------------------
|
||||
userFilesDir: {
|
||||
path: publicDir + 'userFiles',
|
||||
path: path.join(publicDir, 'userFiles'),
|
||||
isDir: true,
|
||||
},
|
||||
} as const satisfies Record<string, FileDescriptor>
|
||||
|
||||
Reference in New Issue
Block a user