Using the new vue version of the app
This commit is contained in:
parent
aa21fba9b1
commit
860dc1acec
2
.gitignore
vendored
2
.gitignore
vendored
@ -149,7 +149,7 @@ artefacts/*.json
|
||||
/tests/*.zip
|
||||
|
||||
/output/
|
||||
/dist/
|
||||
# /dist/
|
||||
!/tests/data/
|
||||
/tests/sink/
|
||||
/debug/
|
||||
|
1
dist/css/app.1ce6e344.css
vendored
Normal file
1
dist/css/app.1ce6e344.css
vendored
Normal file
File diff suppressed because one or more lines are too long
BIN
dist/favicon.ico
vendored
Normal file
BIN
dist/favicon.ico
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 318 B |
1
dist/index.html
vendored
Normal file
1
dist/index.html
vendored
Normal file
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/favicon.ico><title>Menus</title><link href=/css/app.1ce6e344.css rel=preload as=style><link href=/js/app.1be9a2fa.js rel=preload as=script><link href=/js/chunk-vendors.a3fae7eb.js rel=preload as=script><link href=/css/app.1ce6e344.css rel=stylesheet></head><body><noscript><strong>We're sorry but vue_menu doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/js/chunk-vendors.a3fae7eb.js></script><script src=/js/app.1be9a2fa.js></script></body></html>
|
2
dist/js/app.1be9a2fa.js
vendored
Normal file
2
dist/js/app.1be9a2fa.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/js/app.1be9a2fa.js.map
vendored
Normal file
1
dist/js/app.1be9a2fa.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
2
dist/js/app.74171e30.js
vendored
Normal file
2
dist/js/app.74171e30.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/js/app.74171e30.js.map
vendored
Normal file
1
dist/js/app.74171e30.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
14
dist/js/chunk-vendors.a3fae7eb.js
vendored
Normal file
14
dist/js/chunk-vendors.a3fae7eb.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/js/chunk-vendors.a3fae7eb.js.map
vendored
Normal file
1
dist/js/chunk-vendors.a3fae7eb.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -3399,6 +3399,7 @@ class Recipe {
|
||||
constructor() {
|
||||
// this.url = 'https://menu.silvrtree.co.uk/recipes';
|
||||
|
||||
this.url = 'http://localhost:3000/recipes';
|
||||
this.url = 'http://localhost:3000/recipes';
|
||||
this.listData = [];
|
||||
this.content = document.querySelector('#content');
|
||||
|
9
package-lock.json
generated
9
package-lock.json
generated
@ -1008,6 +1008,15 @@
|
||||
"resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
|
||||
"integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac="
|
||||
},
|
||||
"cors": {
|
||||
"version": "2.8.5",
|
||||
"resolved": "https://registry.npmjs.org/cors/-/cors-2.8.5.tgz",
|
||||
"integrity": "sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==",
|
||||
"requires": {
|
||||
"object-assign": "^4",
|
||||
"vary": "^1"
|
||||
}
|
||||
},
|
||||
"create-ecdh": {
|
||||
"version": "4.0.3",
|
||||
"resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.3.tgz",
|
||||
|
@ -12,6 +12,7 @@
|
||||
"axios": "^0.19.0",
|
||||
"backbone": "^1.4.0",
|
||||
"body-parser": "^1.19.0",
|
||||
"cors": "^2.8.5",
|
||||
"dotenv": "^8.2.0",
|
||||
"express": "^4.17.1",
|
||||
"express-session": "^1.17.0",
|
||||
|
@ -3,6 +3,7 @@ const bodyParser = require('body-parser');
|
||||
const session = require('express-session');
|
||||
const path = require('path');
|
||||
const helmet = require('helmet');
|
||||
const cors = require('cors');
|
||||
|
||||
const db = require('./server/lib/loginmanager');
|
||||
|
||||
@ -12,8 +13,9 @@ require('dotenv').config();
|
||||
|
||||
const serverPort = process.env.PORT || 3000;
|
||||
|
||||
const sitePath = 'live';
|
||||
const sitePath = 'dist';
|
||||
|
||||
app.use(cors());
|
||||
app.use(helmet());
|
||||
|
||||
app.use(session({
|
||||
|
Loading…
Reference in New Issue
Block a user