mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
@@ -54,7 +54,7 @@ export class AzureBlobWebServicesStorage extends Storage {
|
||||
* Prefixes the given filePath with the storage root location
|
||||
*/
|
||||
protected _fullPath(filePath: string) {
|
||||
return path.join(this.$root, filePath);
|
||||
return normalize(path.join(this.$root, filePath));
|
||||
}
|
||||
|
||||
public async copy(src: string, dest: string): Promise<Response> {
|
||||
|
||||
@@ -64,7 +64,7 @@ export class GoogleCloudStorage extends Storage {
|
||||
* Prefixes the given filePath with the storage root location
|
||||
*/
|
||||
protected _fullPath(filePath: string) {
|
||||
return path.join(this.$root, filePath);
|
||||
return normalize(path.join(this.$root, filePath));
|
||||
}
|
||||
|
||||
private _file(filePath: string): File {
|
||||
|
||||
@@ -57,7 +57,7 @@ export class AmazonWebServicesS3Storage extends Storage {
|
||||
* Prefixes the given filePath with the storage root location
|
||||
*/
|
||||
protected _fullPath(filePath: string) {
|
||||
return path.join(this.$root, filePath);
|
||||
return normalize(path.join(this.$root, filePath));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user