Skip to content

Commit 77c61d0

Browse files
committed
House keeping config files
1 parent b2dedb9 commit 77c61d0

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

workshops/modernizr/backend/.env

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Database Configuration
22
DATABASE_TYPE=mysql
3-
# DB_HOST=127.0.0.1
4-
DB_HOST=3.19.73.197
3+
DB_HOST=127.0.0.1
54
DB_PORT=3306
65
# DB_USER=root
76
DB_USER=dbuser
@@ -14,15 +13,15 @@ DB_TIMEOUT=60000
1413
# DynamoDB Configuration
1514
# DYNAMODB_ENDPOINT=http://localhost:8000
1615
AWS_REGION=us-east-2
17-
AWS_PROFILE=estserna+twitch-Admin
16+
AWS_PROFILE=
1817
# AWS credentials will be loaded from AWS CLI profile
1918
DYNAMODB_TABLE_PREFIX=
2019

2120
# Server Configuration
2221
PORT=8100
2322

2423
# JWT Configuration
25-
JWT_SECRET=13020429472038029834502893508205382131314343
24+
JWT_SECRET=your-super-secret-jwt-key-change-this-in-production-make-it-long-and-random
2625
JWT_EXPIRES_IN=24h
2726

2827
# Environment

workshops/modernizr/frontend/public/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<!-- Security Headers - Environment-based CSP -->
99
<meta http-equiv="Content-Security-Policy"
10-
content="default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https: blob:; font-src 'self' data:; connect-src 'self' http://localhost:* ws://localhost:* wss://localhost:*; media-src 'self'; object-src 'none'; child-src 'none'; frame-ancestors 'none'; base-uri 'self'; form-action 'self';">
10+
content="default-src 'self'; upgrade-insecure-requests; script-src 'self'; style-src 'self'; img-src 'self' data: https:; font-src 'self' data:; connect-src 'self' https:; media-src 'self'; object-src 'none'; child-src 'none'; frame-ancestors 'none'; base-uri 'self'; form-action 'self';">
1111
<meta http-equiv="X-Frame-Options" content="DENY">
1212
<meta http-equiv="X-Content-Type-Options" content="nosniff">
1313
<meta http-equiv="X-XSS-Protection" content="1; mode=block">

0 commit comments

Comments
 (0)