ソースを参照

Merge branch 'master' into ft/oas3-tio

bubble
Kyle 7年前
committed by GitHub
コミット
a2b572872f
3個のファイルの変更11行の追加3行の削除
  1. +1
    -1
      .github/issue_template.md
  2. +5
    -1
      dev-helpers/oauth2-redirect.html
  3. +5
    -1
      dist/oauth2-redirect.html

+ 1
- 1
.github/issue_template.md ファイルの表示

@@ -25,7 +25,7 @@ or anything that violates the specifications.
| Which Swagger/OpenAPI version? |
| Which Swagger-UI version? |
| How did you install Swagger-UI? |
| Which broswer & version? |
| Which browser & version? |
| Which operating system? |




+ 5
- 1
dev-helpers/oauth2-redirect.html ファイルの表示

@@ -11,7 +11,11 @@
var redirectUrl = oauth2.redirectUrl;
var isValid, qp, arr;

qp = (window.location.hash || location.search).substring(1);
if (/code|token|error/.test(window.location.hash)) {
qp = window.location.hash.substring(1);
} else {
qp = location.search.substring(1);
}

arr = qp.split("&")
arr.forEach(function (v,i,_arr) { _arr[i] = '"' + v.replace('=', '":"') + '"';})


+ 5
- 1
dist/oauth2-redirect.html ファイルの表示

@@ -11,7 +11,11 @@
var redirectUrl = oauth2.redirectUrl;
var isValid, qp, arr;

qp = (window.location.hash || location.search).substring(1);
if (/code|token|error/.test(window.location.hash)) {
qp = window.location.hash.substring(1);
} else {
qp = location.search.substring(1);
}

arr = qp.split("&")
arr.forEach(function (v,i,_arr) { _arr[i] = '"' + v.replace('=', '":"') + '"';})


読み込み中…
キャンセル
保存