Skip to content

Commit bd4b790

Browse files
committed
2 parents 6e90ec0 + 5e3f83d commit bd4b790

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pages/aslsignup.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@
208208
mediaRecorder.start();
209209
console.log('Recording started, mediaRecorder state:', mediaRecorder.state);
210210

211-
let seconds = 5;
211+
let seconds = 2;
212212
timerInterval = setInterval(() => {
213213
document.getElementById('timer').innerText = seconds;
214214
seconds--;
@@ -236,7 +236,7 @@
236236

237237
console.log('FormData:', formData); // Check the formData content
238238

239-
fetch('https://csa-ai.stu.nighthawkcodingsociety.com/api/videos/upload', {
239+
fetch('http://localhost:8017/api/videos/upload', {
240240
method: 'POST',
241241
body: formData
242242
})

pages/signin.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130
}
131131

132132
const signup_url = 'https://csa-ai.stu.nighthawkcodingsociety.com/api/person/createPerson';
133-
const login_url = 'https://csa-ai.stu.nighthawkcodingsociety.com/authenticate';
133+
const login_url = 'https://csa-ai.stu.nighthawkcodingsociety.com/api/person/authenticate';
134134

135135
function showErrorMessage(message) {
136136
const errorAlert = document.getElementById("errorAlert");
@@ -184,7 +184,7 @@
184184
document.cookie = "token=" + data.token + "; path=/";
185185
console.log(data)
186186
if (data.status !== 401) {
187-
window.location.replace("{{ site.baseurl }}/pages/dashboard.html");
187+
window.location.replace("{{ site.baseurl }}/pages/aslsignin.html");
188188
} else {
189189
console.log("bad email and password");
190190
showErrorMessage("Invalid email or password");

0 commit comments

Comments
 (0)