diff options
| author | Mohammad Amoush <muhammedamoush@gmail.com> | 2019-11-12 17:11:20 -0500 |
|---|---|---|
| committer | Mohammad Amoush <muhammedamoush@gmail.com> | 2019-11-12 17:11:20 -0500 |
| commit | 2ea0efa91072c98c185f957d8040edde2cdb4e5e (patch) | |
| tree | 78576c68be7e1c157b0d293d6048a86652bf1ede /src/client/views/nodes/VideoBox.tsx | |
| parent | 341a4201997a27adeace7cb3fad48ce83b8008a7 (diff) | |
| parent | 63ea273820eb5ab8388e2744fc7988f10746f25f (diff) | |
added new managers to index
Diffstat (limited to 'src/client/views/nodes/VideoBox.tsx')
| -rw-r--r-- | src/client/views/nodes/VideoBox.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/views/nodes/VideoBox.tsx b/src/client/views/nodes/VideoBox.tsx index aa9b28118..4884fa2bf 100644 --- a/src/client/views/nodes/VideoBox.tsx +++ b/src/client/views/nodes/VideoBox.tsx @@ -6,7 +6,6 @@ import { InkTool } from "../../../new_fields/InkField"; import { makeInterface, createSchema, listSpec } from "../../../new_fields/Schema"; import { Cast, FieldValue, NumCast, BoolCast, StrCast } from "../../../new_fields/Types"; import { VideoField } from "../../../new_fields/URLField"; -import { RouteStore } from "../../../server/RouteStore"; import { Utils, emptyFunction, returnOne } from "../../../Utils"; import { Docs, DocUtils } from "../../documents/Documents"; import { ContextMenu } from "../ContextMenu"; @@ -183,7 +182,7 @@ export class VideoBox extends DocAnnotatableComponent<FieldViewProps, VideoDocum public static async convertDataUri(imageUri: string, returnedFilename: string) { try { - let posting = Utils.prepend(RouteStore.dataUriToImage); + let posting = Utils.prepend("/uploadURI"); const returnedUri = await rp.post(posting, { body: { uri: imageUri, |
