env not working
This commit is contained in:
parent
f03b2d10aa
commit
cafdcf64d0
2
consumerWebsite/public/.gitignore
vendored
Normal file
2
consumerWebsite/public/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
node_modules
|
||||
.env
|
@ -91,6 +91,7 @@ body {
|
||||
gap: 15px;
|
||||
margin-top: 50px;
|
||||
}
|
||||
|
||||
form
|
||||
input {
|
||||
height: 60px;
|
||||
|
@ -1,4 +1,5 @@
|
||||
const newAccessKey = '7f7ce777-6a56-4e5e-bfac-3b83c6453e65';
|
||||
//const newAccessKey = process.env.ACCESS_KEY;
|
||||
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
const form = document.getElementById('form');
|
||||
|
@ -1,7 +1,13 @@
|
||||
const express = require('express');
|
||||
const dotenv = require('dotenv');
|
||||
const bodyParser = require('body-parser');
|
||||
const mysql = require('mysql');
|
||||
|
||||
dotenv.config();
|
||||
|
||||
|
||||
app.use(express.static('public'));
|
||||
|
||||
const app = express();
|
||||
const port = 3000;
|
||||
|
||||
|
2618
package-lock.json
generated
2618
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -39,6 +39,7 @@
|
||||
"qrcode": "^1.5.3",
|
||||
"sanitize-html": "^2.11.0",
|
||||
"sequelize": "^6.35.2",
|
||||
"sql": "^0.78.0",
|
||||
"validator": "^13.11.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user