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

Commit5a28d74

Browse files
authored
Segment switch 3.0 (#1322)
* add redirect by path for segment switch* remove ?ent from redirect* removed window relatance from functions* removed comment* fix reason why redirect didnt work in production
1 parent094c527 commit5a28d74

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