mirror of
https://github.com/Redocly/redoc.git
synced 2025-09-21 19:42:33 +03:00
test: fix e2e
This commit is contained in:
parent
db0a1abc7d
commit
f12ba27d30
|
@ -14,7 +14,7 @@
|
||||||
<script>
|
<script>
|
||||||
window.redocError = null;
|
window.redocError = null;
|
||||||
/* init redoc */
|
/* init redoc */
|
||||||
var url = window.location.search.substr(5) || 'http://rebilly.github.io/ReDoc/swagger.yaml';
|
var url = window.location.search.substr(5) || 'http://redocly.github.io/redoc/swagger.yaml';
|
||||||
Redoc.init(decodeURIComponent(url), {disableLazySchemas: true, suppressWarnings: true}).then(function() {}, function(err) {
|
Redoc.init(decodeURIComponent(url), {disableLazySchemas: true, suppressWarnings: true}).then(function() {}, function(err) {
|
||||||
window.redocError = err;
|
window.redocError = err;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user