aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/History.ts
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-07-17 20:48:14 -0400
committerTyler Schicke <tyler_schicke@brown.edu>2019-07-17 20:48:14 -0400
commit5aa6bcdd4e23bb9e9d05181d0dc6b638e45e397b (patch)
tree1929cc92dd43d9e48d0e7dbe5649721ba9bba906 /src/client/util/History.ts
parentea5b91c45baba7be50a5e2276f9b3618af634676 (diff)
Moved DocServer.prepend and changed how corsProxy works
Diffstat (limited to 'src/client/util/History.ts')
-rw-r--r--src/client/util/History.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/History.ts b/src/client/util/History.ts
index cbf5b3fc8..e9ff21b22 100644
--- a/src/client/util/History.ts
+++ b/src/client/util/History.ts
@@ -129,7 +129,7 @@ export namespace HistoryUtil {
function addStringifier(type: string, keys: string[], customStringifier?: (state: ParsedUrl, current: string) => string) {
stringifiers[type] = state => {
- let path = DocServer.prepend(`/${type}`);
+ let path = Utils.prepend(`/${type}`);
if (customStringifier) {
path = customStringifier(state, path);
}