mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-02-17 03:23:47 +00:00
FilesystemBackend: Remove getFileURL
Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
4ef3fd029d
commit
2c6af85f14
1 changed files with 0 additions and 6 deletions
|
@ -53,12 +53,6 @@ export class FilesystemBackend implements MediaBackend {
|
|||
}
|
||||
}
|
||||
|
||||
getFileURL(fileName: string, _: BackendData): Promise<string> {
|
||||
const filePath = this.getFilePath(fileName);
|
||||
// TODO: Add server address to url
|
||||
return Promise.resolve('/' + filePath);
|
||||
}
|
||||
|
||||
private getFilePath(fileName: string): string {
|
||||
return join(this.uploadDirectory, fileName);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue