Use CDN for jquery as temp workaround for pkg problem

pull/3/head
Key Networks 7 years ago
parent fd94cd7f5c
commit c3db94a0a3

@ -34,7 +34,7 @@ git clone https://github.com/key-networks/ztncui
##### 2. Install the [node.js](https://nodejs.org) packages: ##### 2. Install the [node.js](https://nodejs.org) packages:
```shell ```shell
cd ztncui cd ztncui/src
npm install npm install
``` ```

@ -1 +1,2 @@
systemctl daemon-reload
systemctl try-restart ztncui systemctl try-restart ztncui

@ -1,6 +1,6 @@
{ {
"name": "ztncui", "name": "ztncui",
"version": "0.3.0", "version": "0.3.2",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

@ -1,6 +1,6 @@
{ {
"name": "ztncui", "name": "ztncui",
"version": "0.3.0", "version": "0.3.2",
"private": true, "private": true,
"scripts": { "scripts": {
"start": "node ./bin/www", "start": "node ./bin/www",

@ -11,7 +11,7 @@ html(lang='en')
meta(name='viewport', content='width=device-width, initial-scale=1') meta(name='viewport', content='width=device-width, initial-scale=1')
link(rel='stylesheet', href='/bscss/bootstrap.min.css') link(rel='stylesheet', href='/bscss/bootstrap.min.css')
link(rel='stylesheet', href='/stylesheets/style.css') link(rel='stylesheet', href='/stylesheets/style.css')
script(src='/jqjs/jquery.min.js') script(src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js')
script(src='/bsjs/bootstrap.min.js') script(src='/bsjs/bootstrap.min.js')
body body
block body_content block body_content

Loading…
Cancel
Save