From 530e033f9fdba1dfd02848d5839fd348ca6eeed1 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 16 九月 2022 00:09:45 +0800 Subject: [PATCH] 2022-09-16 --- src/tabviews/custom/index.jsx | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/tabviews/custom/index.jsx b/src/tabviews/custom/index.jsx index e9a7411..4540b99 100644 --- a/src/tabviews/custom/index.jsx +++ b/src/tabviews/custom/index.jsx @@ -86,7 +86,11 @@ let shortcuts = [] try { // 閰嶇疆淇℃伅瑙f瀽 - config = JSON.parse(window.decodeURIComponent(window.atob(result.LongParam))) + config = window.decodeURIComponent(window.atob(result.LongParam)) + + config = config.replace(/@mywebsite@\//ig, window.GLOB.baseurl) + + config = JSON.parse(config) } catch (e) { console.warn('Parse Failure') config = '' -- Gitblit v1.8.0