Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

86 #114

Merged
merged 2 commits into from
May 26, 2024
Merged

86 #114

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion backend/src/routes/helpfulFriends.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ export function single_nest(commentRows: IComment[], commentId: number) {
const bucketName = process.env.S3_BUCKET_NAME;
const bucketUrl = process.env.S3_BUCKET_URL;
const region = process.env.AWS_REGION;
// TODO: add creds here
const s3Client = new S3Client({
region,
credentials: fromContainerMetadata(),
Expand Down
1 change: 0 additions & 1 deletion frontend/src/api/usePostQuestion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ export default function usePostQuestion(examId: number) {
if (questionText) {
formData.append('questionText', questionText);
}
// TODO: update this to take questionType as input
formData.append('questionType', 'Short Answer');

// send the question
Expand Down
15 changes: 0 additions & 15 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,6 @@ resource "random_string" "auth0_secret" {
special = true
}

#TODO need scalability stuff for front, back db ?

resource "aws_security_group" "unibasement_frontend" {
name = "unibasement_frontend"
description = "unibasement Security Group"
Expand Down Expand Up @@ -562,19 +560,6 @@ resource "aws_route53_record" "unibasement" {
}
}



resource "local_file" "url" {
content = "http://${aws_lb.unibasement.dns_name}:3000/"
filename = "./unibasement.txt"
}

output "url" {
value = "http://${aws_lb.unibasement.dns_name}:3000/"
}



////////////////////////////// Miscellaneous ///////////////////////////////////


Expand Down
Loading