Skip to content

Commit

Permalink
Redirect fix
Browse files Browse the repository at this point in the history
  • Loading branch information
theolaa committed Jul 30, 2021
1 parent a8d14b3 commit 80ef181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cgi/bmi_calculator.pl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
print "Content-type: text/html\n\n";

if (($data{firstname} eq '') || ($data{email} eq '')) {
print "Missing User Data<br>You will be redirected after five seconds<script>setTimeout(function () {window.location = '../Test.html'}, 5000)</script>";
print "Missing User Data<br>You will be redirected after five seconds<script>setTimeout(function () {window.location = '../'}, 5000)</script>";

} else {

Expand Down

0 comments on commit 80ef181

Please sign in to comment.