File tree Expand file tree Collapse file tree 3 files changed +2
-6
lines changed
Expand file tree Collapse file tree 3 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,3 @@ UPLOADCARE_PUBLIC_KEY=your-public-key
66
77# Replace this with your Uploadcare SECRET key from https://app.uploadcare.com/
88UPLOADCARE_SECRET_KEY = your-secret-key
9-
10- # Replace this with your session secret (optional for testing purposes)
11- SESSION_SECRET = some-session-secret
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ Copy the `.env.example` file to `.env` and fill in the required environment vari
1515TINYMCE_API_KEY=your-api-key
1616UPLOADCARE_PUBLIC_KEY=your-public-key
1717UPLOADCARE_SECRET_KEY=your-secret-key
18- SESSION_SECRET=your-session-secret
1918```
2019
2120## Installation
@@ -30,4 +29,4 @@ npm install
3029npm run start
3130```
3231
33- Open [ http://localhost:3000 ] ( http://localhost:3000 ) to view it in the browser.
32+ Open [ http://localhost:3000 ] ( http://localhost:3000 ) to view it in the browser.
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ const setupExpress = (port) => {
2626 app . set ( "trust proxy" , 1 ) ;
2727 app . use (
2828 session ( {
29- secret : process . env . SESSION_SECRET ,
29+ secret : "your-session-secret" ,
3030 resave : false ,
3131 saveUninitialized : true ,
3232 cookie : { secure : false } ,
You can’t perform that action at this time.
0 commit comments