From 6aa6b7c5a580705c6c86d3cfc6dc38fffd99477e Mon Sep 17 00:00:00 2001 From: Hai Liang Wang Date: Thu, 22 Jun 2023 17:36:38 +0800 Subject: [PATCH] https://github.com/cskefu/cskefu/issues/833 fix chatbox point url --- .../app/src/main/resources/templates/apps/im/point.pug | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/contact-center/app/src/main/resources/templates/apps/im/point.pug b/contact-center/app/src/main/resources/templates/apps/im/point.pug index 5baffc0a..46ca15a6 100644 --- a/contact-center/app/src/main/resources/templates/apps/im/point.pug +++ b/contact-center/app/src/main/resources/templates/apps/im/point.pug @@ -11,7 +11,9 @@ //- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. //- See the License for the specific language governing permissions and //- limitations under the License. -- var baseUrl = (schema?schema:'http')+'://' + hostname + ':' + port +- var schemaFixed = schema ? schema : 'http' +- var portFixed = schemaFixed == "https" ? 443 : port +- var baseUrl = schemaFixed +'://' + hostname + ':' + portFixed - var style = 'text-align:center;height: 150px;border-radius: 30px;width: 40px;margin: 0px 5px 0 0; float:left ; word-wrap: break-word;overflow: hidden;font-size:15px;color:#FFFFFF;text-align: center;padding-top: 15px;border: 1px solid #DCDCDC;background-color:#008df3;'; if inviteData.consult_vsitorbtn_model == "2"