diff --git a/server/views/index.pug b/server/views/index.pug index 3a86dca..59ab384 100644 --- a/server/views/index.pug +++ b/server/views/index.pug @@ -5,7 +5,7 @@ block content p Welcome to #{title} if error == 'logoutError' - .alert.alert-danger(role='alert') #{errorMessage} + .alert.alert-danger(role='alert') There was an error logging you out. Please try again. if userInfo p Welcome our GitHub guest: #{userInfo[0].github_username} //- Logout Button @@ -22,4 +22,4 @@ block content p Are you sure you want to log out? .modal-footer button.btn.btn-secondary(type='button', data-bs-dismiss='modal') Cancel - a.btn.btn-danger(href='/logout') Confirm Log Out + a.btn.btn-danger(href='/users/logout') Confirm Log Out diff --git a/server/views/layout.pug b/server/views/layout.pug index 41fd738..a315ff9 100644 --- a/server/views/layout.pug +++ b/server/views/layout.pug @@ -7,9 +7,8 @@ html link(rel='stylesheet', href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css') link(rel='stylesheet' href='/stylesheets/style.css') body - block content - + script(src='https://code.jquery.com/jquery-3.5.1.slim.min.js') script(src='https://cdn.jsdelivr.net/npm/@popperjs/core@2.5.3/dist/umd/popper.min.js') - script(src='https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js') \ No newline at end of file + script(src='https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js' integrity='sha384-r2T0rEsyKkqKKT85Zio6V0PHdyFQOM2C3KpHo5z+E9RmHt8GUeMfXJ42G5KkW5J9' crossorigin='anonymous')