Skip to content

Commit

Permalink
started figthing satan
Browse files Browse the repository at this point in the history
  • Loading branch information
erikpersson0884 committed May 20, 2024
1 parent cd20315 commit ca48dad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion public/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function createOptionsMenu() {
if (document.title !== 'FikIT - Hantera Pateter') {
let openManagePatetosButton = document.createElement('a');
openManagePatetosButton.id = 'openManagePatetosButton';
openManagePatetosButton.href = 'managepatetos.html';
openManagePatetosButton.href = 'managePatetos.html';
openManagePatetosButton.classList.add('adminButton', 'hidden', 'button');
openManagePatetosButton.textContent = 'Hantera pateter';
optionsMenu.appendChild(openManagePatetosButton);
Expand Down
1 change: 1 addition & 0 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ app.post('/testAdminKey', (req, res) => {

function getCredentials() {
let credentials = fs.readFileSync(pathToCredentialsFile);
console.log(credentials);
return JSON.parse(credentials);
}

Expand Down

0 comments on commit ca48dad

Please sign in to comment.