質問編集履歴
2
誤字
title
CHANGED
File without changes
|
body
CHANGED
@@ -25,7 +25,7 @@
|
|
25
25
|
現在は以下の形で運用していますが、3環境で動かしたいとのことです。
|
26
26
|
```js
|
27
27
|
var page_path = location.href;
|
28
|
-
const replaced =
|
28
|
+
const replaced = page_path.replace('test/', 'test/color/');
|
29
29
|
```
|
30
30
|
|
31
31
|
ご教示いただければ幸いです。
|
1
誤字
title
CHANGED
File without changes
|
body
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
|
6
6
|
開発環境1が https://test.jp/test/index.html
|
7
|
-
開発環境
|
7
|
+
開発環境2が https://test.jp/test2/index.html
|
8
8
|
客用環境が https://kokyaku.net/index.html
|
9
9
|
|
10
10
|
階層が複数あるため、以下の方法ですと2階層目以下がカレントディレクトリの取得になってしまいます。
|