Skip to content

Commit a3c7aba

Browse files
authored
Merge branch 'develop' into #1375-TeeraTesharojanasup-credits
2 parents 2d74b42 + 5feec10 commit a3c7aba

2 files changed

Lines changed: 30 additions & 2 deletions

File tree

src/backend/src/controllers/reimbursement-requests.controllers.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,10 @@ export default class ReimbursementRequestsController {
182182

183183
const receipt = await ReimbursementRequestService.uploadReceipt(requestId, file, user);
184184

185-
res.header('Access-Control-Allow-Origin', 'true');
185+
const isProd = process.env.NODE_ENV === 'production';
186+
const origin = isProd ? 'https://finishlinebyner.com' : 'http://localhost:3000';
187+
188+
res.header('Access-Control-Allow-Origin', origin);
186189
res.status(200).json(receipt);
187190
} catch (error: unknown) {
188191
next(error);

src/frontend/src/pages/CreditsPage/CreditsPage.tsx

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ const CreditsPage: React.FC = () => {
8484
{ name: 'Yechan Na', color: '#C2B078' },
8585
{ name: 'Liam Kosar', color: '#eb66ff' },
8686
{ name: 'Daniel Yu', color: '#bdc0c7' },
87+
{ name: 'Jake Wu-Chen', color: '#bdc0c7' },
8788
{ name: 'William Seward', color: '#e53774' },
8889
{
8990
name: 'Zach Norman',
@@ -95,7 +96,31 @@ const CreditsPage: React.FC = () => {
9596
},
9697
{ name: 'Ethan Mouri', color: '#00bbff' },
9798
{ name: 'Laith Taher', color: '#000080' },
98-
{ name: 'Teera Tesharojanasup', color: '#DC143C', sx: { px: 1, backgroundColor: '#E8D8CC', borderRadius: 10 } }
99+
{ name: 'Teera Tesharojanasup', color: '#DC143C', sx: { px: 1, backgroundColor: '#E8D8CC', borderRadius: 10 } },
100+
{ name: 'Griffin Cooper', color: '#02d69a' },
101+
{ name: 'Amani Scarborough', color: '#e34db6' },
102+
{ name: 'Peter Moise', color: '#FF0000' },
103+
{ name: 'Srihari Raman', color: '#FF2400' },
104+
{ name: 'Kaiyang Zheng', color: '#FFFF00' },
105+
{ name: 'Waasif Mahmood', color: '#114a13' },
106+
{ name: 'Matthew Wang', color: '#c657f2' },
107+
{ name: 'Sharon Yang', color: '#ed8a5f' },
108+
{ name: 'Stephanie Xu', color: '#ffcd42' },
109+
{ name: 'Hareg Aderie', color: '#34b46c' },
110+
{ name: 'Kevin Polackal', color: '#800080' },
111+
{ name: 'Anika Sharma', color: '#ff0000' },
112+
{
113+
name: 'Kaan Tural',
114+
color: 'transparent',
115+
sx: {
116+
background: 'linear-gradient(90deg, rgba(255,0,0,1) 0%, rgba(0,128,255,1) 100%)',
117+
'-webkit-background-clip': 'text',
118+
textShadow: '0 0 5px rgba(255,0,0,1), 0 0 10px rgba(0,128,255,1)'
119+
}
120+
},
121+
{ name: 'Kevin Polackal', color: '#800080' },
122+
{ name: 'Lily Shiomitsu', color: '#008080' },
123+
{ name: 'Kevin Yang', color: '#0000FF' }
99124
];
100125

101126
const snark = ['Add your name!', "Shouldn't you do it yourself?", 'Seriously', 'go', 'do', 'it'];

0 commit comments

Comments
 (0)