lev launch config. update some images
2
.env
@ -32,7 +32,7 @@ AUTH0_SECRET=_c0O9GkyRXkoWMQW7jNExnl6UoXN6O4oD3mg7NZ_uHVeAinCUtcTAkeQmcKXpZ4x
|
|||||||
AUTH0_ISSUER=https://dev-wkzi658ckibr1amv.us.auth0.com
|
AUTH0_ISSUER=https://dev-wkzi658ckibr1amv.us.auth0.com
|
||||||
|
|
||||||
FACEBOOK_ID=
|
FACEBOOK_ID=
|
||||||
FACEBOOK_SECRE
|
FACEBOOK_SECRET=
|
||||||
GITHUB_ID=
|
GITHUB_ID=
|
||||||
GITHUB_SECRET=
|
GITHUB_SECRET=
|
||||||
|
|
||||||
|
3
.env.dev
@ -1,3 +0,0 @@
|
|||||||
SSL_ENABLED=true
|
|
||||||
SSL_KEY=./certificates/localhost-key.pem
|
|
||||||
SSL_CERT=./certificates/localhost.pem
|
|
7
.env.development
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
NODE_TLS_REJECT_UNAUTHORIZED=0
|
||||||
|
# NODE_EXTRA_CA_CERTS=C:\\Users\\popov\\AppData\\Local\\mkcert
|
||||||
|
SSL_ENABLED=true
|
||||||
|
SSL_KEY=./certificates/localhost-key.pem
|
||||||
|
SSL_CERT=./certificates/localhost.pem
|
||||||
|
|
||||||
|
DATABASE_URL=mysql://root:Zelen0ku4e@192.168.0.10:3306/cart_dev
|
7
.vscode/launch.json
vendored
@ -16,11 +16,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Run npm nodemon",
|
"name": "Run npm nodemon (DEV)",
|
||||||
"command": "npm run debug ", // > _logs/debug.log
|
"command": "npm run debug", // > _logs/debug.log
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"type": "node-terminal",
|
"type": "node-terminal",
|
||||||
"preLaunchTask": "killInspector", // <-- Add this line
|
"preLaunchTask": "killInspector", // <-- Add this line
|
||||||
|
"env": {
|
||||||
|
"NODE_ENV": "development"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
// "type": "pwa-node",
|
// "type": "pwa-node",
|
||||||
|
@ -99,17 +99,17 @@ const FileUploadWithPreview = ({ name, value, prefix, onUpload, label }) => {
|
|||||||
</button>
|
</button>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</div>
|
{
|
||||||
{
|
thumbnail && (
|
||||||
thumbnail && (
|
<div className="mt-2 flex justify-center">
|
||||||
<div className="mt-2 flex justify-center">
|
<div className="max-w-xs max-h-64 overflow-hidden rounded-md">
|
||||||
<div className="max-w-xs max-h-64 overflow-hidden rounded-md">
|
<img src={thumbnail} alt="Thumbnail" className="object-contain w-full h-full" />
|
||||||
<img src={thumbnail} alt="Thumbnail" className="object-contain w-full h-full" />
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
)
|
||||||
)
|
}
|
||||||
}
|
</div>
|
||||||
</div >
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
BIN
public/content/uploads/image-1708716325394.jpg
Normal file
After Width: | Height: | Size: 25 MiB |
BIN
public/content/uploads/image-1708716328800.jpg
Normal file
After Width: | Height: | Size: 22 MiB |
BIN
public/content/uploads/image-1708716501893.jpg
Normal file
After Width: | Height: | Size: 17 MiB |
BIN
public/content/uploads/image-1708716503544.jpg
Normal file
After Width: | Height: | Size: 18 MiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 329 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 366 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 17 KiB |
@ -63,6 +63,7 @@ app
|
|||||||
const options = {
|
const options = {
|
||||||
key: fs.readFileSync(process.env.SSL_KEY),
|
key: fs.readFileSync(process.env.SSL_KEY),
|
||||||
cert: fs.readFileSync(process.env.SSL_CERT),
|
cert: fs.readFileSync(process.env.SSL_CERT),
|
||||||
|
secureProtocol: 'TLSv1_2_method', // Example: Force TLS 1.2
|
||||||
};
|
};
|
||||||
https.createServer(options, server).listen(PORT);
|
https.createServer(options, server).listen(PORT);
|
||||||
}
|
}
|
||||||
|