Skip to content

Commit 49e9685

Browse files
committed
Setting for Dev and Phase 2
1 parent 3d09106 commit 49e9685

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.htaccess

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ RewriteRule ^schedule/[^/]*/ical$ api/schedule.php [L]
2222

2323
# Redirect all images to assets
2424
# TODO Get it to redirect properly
25-
RewriteRule /([^.]+\.png)$ https://assets.csh.rit.edu/schedulemaker/$1 [R=301,L,NC]
25+
# RewriteRule /([^.]+\.png)$ https://assets.csh.rit.edu/schedulemaker/$1 [R=301,L,NC]
2626

2727
# Don't rewrite files or directories
2828
RewriteCond %{REQUEST_FILENAME} -f [OR]

inc/config.env.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@
2323

2424
////////////////////////////////////////////////////////////////////////////
2525
// S3 CONFIG
26-
$S3_SERVER = $get_env(getenv("S3_SERVER"), 's3.csh.rit.edu');
26+
$S3_SERVER = $get_env(getenv("S3_SERVER"), 'https://s3.csh.rit.edu');
2727
$S3_KEY = $get_env(getenv("S3_KEY"), '');
2828
$S3_SECRET = $get_env(getenv("S3_SECRET"), '');
29+
$S3_IMAGE_BUCKET = $get_env(getenv("S3_IMAGE_BUCKET"), 'schedulemaker');
2930

3031
////////////////////////////////////////////////////////////////////////////
3132
//// APP VERSIONS

inc/config.example.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@
2424

2525
////////////////////////////////////////////////////////////////////////////
2626
// S3 CONFIG
27-
$S3_SERVER = 's3.csh.rit.edu';
27+
$S3_SERVER = 'https://s3.csh.rit.edu';
2828
$S3_KEY = '';
2929
$S3_SECRET = '';
30+
$S3_IMAGE_BUCKET = 'schedulemaker';
3031

3132
////////////////////////////////////////////////////////////////////////////
3233
// CALCULATIONS

0 commit comments

Comments
 (0)