File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -135,9 +135,10 @@ $(document).ready(function () {
135135 $ ( '.feedback .feedback-send-data-button' ) . on ( 'click' , function ( ) {
136136 $ ( feedbackProps . feedbackMoreInfoSelector ) . addClass ( 'hide' ) ;
137137
138+ var endpoint = "https://baas.kinvey.com/rpc/" + kinveyAppKey + "/custom/saveFeedback"
138139 if ( getFeedbackComment ( ) ) {
139140 $ . ajax ( {
140- url : "https://baas.kinvey.com/rpc/kid_Hk57KwIFf/custom/saveFeedback" ,
141+ url : endpoint ,
141142 method : "POST" ,
142143 dataType : "json" ,
143144 contentType : "application/json; charset=utf-8" ,
Original file line number Diff line number Diff line change 7070 < script src ="https://kendo.cdn.telerik.com/{{ site.cdnVersion | default: '2018.3.1017' }}/js/kendo.web.min.js "> </ script >
7171 </ head >
7272
73- {% if site.environment != 'production' %}
74- {% capture environment_class %}environment-{{ site.environment }}{% endcapture %}
75- {% endif %}
7673{% if page.brand %}
77- < body role ="document " class ="layout-{{ page.layout }} brand brand-{{ page.brand }} {{ environment_class }} ">
74+ < body role ="document " class ="layout-{{ page.layout }} brand brand-{{ page.brand }} ">
7875{% else %}
79- < body role ="document " class ="layout-{{ page.layout }} brand {{ environment_class }} ">
76+ < body role ="document " class ="layout-{{ page.layout }} brand ">
8077{% endif %}
8178
8279 <!-- Google Tag Manager -->
8582 <!-- End Google Tag Manager -->
8683
8784 < script >
85+ kinveyAppKey = { % if site . environment == 'test' or site . environment == 'dev' % } "kid_ryN3aCy9M" { % else % } "kid_Hk57KwIFf" { % endif % } ;
8886 hasDataLang = { % if site . code_lang == true % } true { % else % } false { % endif % } ;
8987 { % if site . has_web_api == true or site . has_web_api_index == true % }
9088 { % if page . kind == 'api' % }
You can’t perform that action at this time.
0 commit comments