Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8b6f55b

Browse files
committed
fix reason why redirect didnt work in production
1 parent2b33583 commit8b6f55b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎_includes/scripts.html‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,8 @@
147147

148148
constredirectMap=awaitfetchRedirectMap();
149149

150-
constcurrentPath=window.location.pathname;
150+
constpathname=window.location.pathname;
151+
constcurrentPath=pathname.replace(SITE_BASE_URL,"");
151152

152153
if(selectedValue==='enterprise'){
153154
localStorage.setItem(enterpriseDocTypeLockKey,'true');

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp