Pārlūkot izejas kodu

Updated: using minified versions of foundation, jquery.

Steve Thielemann 4 gadi atpakaļ
vecāks
revīzija
d8d198fea5
3 mainītis faili ar 4 papildinājumiem un 3 dzēšanām
  1. 1 0
      static/js/vendor/jquery-3.5.1.min.js
  2. 2 2
      templates/base.html
  3. 1 1
      up.sh

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 1 - 0
static/js/vendor/jquery-3.5.1.min.js


+ 2 - 2
templates/base.html

@@ -17,9 +17,9 @@
       </div>  
       </div>  
 {% block content %}{% endblock %}
 {% block content %}{% endblock %}
     </div>
     </div>
-    <script src="{{ url_for( 'static', filename='js/vendor/jquery.js') }}"></script>
+    <script src="{{ url_for( 'static', filename='js/vendor/jquery-3.5.1.min.js') }}"></script>
     <script src="{{ url_for( 'static', filename='js/vendor/what-input.js') }}"></script>
     <script src="{{ url_for( 'static', filename='js/vendor/what-input.js') }}"></script>
-    <script src="{{ url_for( 'static', filename='js/vendor/foundation.js') }}"></script>
+    <script src="{{ url_for( 'static', filename='js/vendor/foundation.min.js') }}"></script>
     <script src="{{ url_for( 'static', filename='js/app.js') }}"></script>
     <script src="{{ url_for( 'static', filename='js/app.js') }}"></script>
     <footer class="large-12 callout">
     <footer class="large-12 callout">
     BZ&amp;BZ BBS
     BZ&amp;BZ BBS

+ 1 - 1
up.sh

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 
 
-gunicorn messages:app
+gunicorn messages:app -b 0.0.0.0:8000 --reload
 
 
 # FLASK_APP=messages.py flask run
 # FLASK_APP=messages.py flask run
 
 

Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels