diff --git a/pywb/static/wombat.js b/pywb/static/wombat.js index bc361250..0e6d8327 100644 --- a/pywb/static/wombat.js +++ b/pywb/static/wombat.js @@ -708,11 +708,11 @@ WB_wombat_init = (function() { } //============================================ - function wombat_init(replay_prefix, capture_date, orig_scheme, orig_host, timestamp) { + function wombat_init(replay_prefix, capture_date, orig_scheme, orig_host, timestamp, mod) { wb_replay_prefix = replay_prefix; if (wb_replay_prefix) { - wb_replay_date_prefix = replay_prefix + capture_date + "/"; + wb_replay_date_prefix = replay_prefix + capture_date + mod + "/"; if (capture_date.length > 0) { wb_capture_date_part = "/" + capture_date + "/"; diff --git a/pywb/webapp/handlers.py b/pywb/webapp/handlers.py index b32cc2ad..2c7962cc 100644 --- a/pywb/webapp/handlers.py +++ b/pywb/webapp/handlers.py @@ -74,8 +74,8 @@ class SearchPageWbUrlHandler(WbUrlHandler): return self.handle_request(wbrequest) - def get_top_frame_params(self, wbrequest): - embed_url = wbrequest.wb_url.to_str(mod='') + def get_top_frame_params(self, wbrequest, mod=''): + embed_url = wbrequest.wb_url.to_str(mod=mod) if wbrequest.wb_url.timestamp: timestamp = wbrequest.wb_url.timestamp