aboutsummaryrefslogtreecommitdiff
path: root/src/Utils.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-08-01 22:43:46 -0400
committerbobzel <zzzman@gmail.com>2021-08-01 22:43:46 -0400
commit0546ecf205b7d2b76f341a7157beebf95fb888a8 (patch)
tree9db70d809b8411a56b69ef568e446d0d25db2e64 /src/Utils.ts
parent970ea305fde86c6d33fc08c8880ef258b7b318bc (diff)
made url server references relative.
Diffstat (limited to 'src/Utils.ts')
-rw-r--r--src/Utils.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Utils.ts b/src/Utils.ts
index d87c3cc6b..194c38a6f 100644
--- a/src/Utils.ts
+++ b/src/Utils.ts
@@ -67,7 +67,6 @@ export namespace Utils {
export function prepend(extension: string): string {
return window.location.origin + extension;
}
-
export function fileUrl(filename: string): string {
return prepend(`/files/${filename}`);
}