mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-09 02:59:27 +03:00
fix enpoint bug
This commit is contained in:
parent
4306a1a4a3
commit
b4ca14618a
2
Resources/views/layout.html.twig
Normal file → Executable file
2
Resources/views/layout.html.twig
Normal file → Executable file
@ -396,7 +396,7 @@
|
|||||||
{% else -%}
|
{% else -%}
|
||||||
var endpoint = '{{ endpoint }}';
|
var endpoint = '{{ endpoint }}';
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
if ($('#api_endpoint') && $('#api_endpoint').val() != null) {
|
if ($('#api_endpoint') && $('#api_endpoint').val() != '') {
|
||||||
endpoint = $('#api_endpoint').val();
|
endpoint = $('#api_endpoint').val();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user