Browse Source

fix: include `nc` along with base path since we are always uploading under that folder

- base path contain sqlite file as well

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/6102/head
Pranav C 1 year ago
parent
commit
5fcb7c88ac
  1. 2
      packages/nocodb/src/plugins/storage/Local.ts

2
packages/nocodb/src/plugins/storage/Local.ts

@ -126,7 +126,7 @@ export default class Local implements IStorageAdapterV2 {
throw404 = false,
): string {
// Get the absolute path to the base directory
const absoluteBasePath = path.resolve(getToolDir());
const absoluteBasePath = path.resolve(getToolDir(), 'nc');
// Get the absolute path to the file
const absolutePath = path.resolve(

Loading…
Cancel
Save