javascript - Summernote works on local, but not on production -


what possible reason of summernote.js library working on local, not on production? use cdn it, check code:

<head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- above 3 meta tags *must* come first in head; other head content must come *after* these tags --> <meta name="csrf-token" content="{{ csrf_token() }}" /> <title>{{ env('app_name') }} | @yield('title')</title>  <!-- favicon --> <link rel="favicon icon" href="{{ asset('public/favicon.ico') }}">  <!-- styles --> <!-- include libraries(jquery, bootstrap) --> <link href="http://netdna.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.css" rel="stylesheet">  <!-- include summernote css/js--> <link href="http://cdnjs.cloudflare.com/ajax/libs/summernote/0.8.1/summernote.css" rel="stylesheet"> <!-- end styles --> 

and right above closing body tag

<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.js"></script> <script src="http://netdna.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.js"></script> <script src="http://cdnjs.cloudflare.com/ajax/libs/summernote/0.8.1/summernote.js"></script> <script>     $(document).ready(function() {         $('#summernote').summernote({             height: 300,             dialogsinbody: true         });     }); </script> <!-- end scripts --> 

i've managed figure out problem. i'm using ssl certificate web app, had change urls http https

i hope answer helpful devs!


Comments

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -