Use CDN for jquery as temp workaround for pkg problem

This commit is contained in:
Key Networks 2018-01-11 23:44:58 +08:00
parent fd94cd7f5c
commit c3db94a0a3
5 changed files with 5 additions and 4 deletions

View File

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

View File

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

2
src/package-lock.json generated
View File

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

View File

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

View File

@ -11,7 +11,7 @@ html(lang='en')
meta(name='viewport', content='width=device-width, initial-scale=1')
link(rel='stylesheet', href='/bscss/bootstrap.min.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')
body
block body_content