Skip to content

Commit

Permalink
Reverting to relative pasts for pages hosting
Browse files Browse the repository at this point in the history
  • Loading branch information
DiogenesAnalytics committed Mar 6, 2024
1 parent 6279a7a commit 8c99497
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Parley</title>
<link rel="stylesheet" href="/styles/form.css">
<link rel="stylesheet" href="styles/form.css">
<style>
.container {
display: none;
Expand Down Expand Up @@ -34,7 +34,7 @@
JavaScript is disabled. Please enable JavaScript to use this form.
</div>
</noscript>
<script src="/scripts/form.js"></script>
<script src="scripts/form.js"></script>
<script>
// Everything hidden by default (only displayed if javascript enabled)
document.addEventListener("DOMContentLoaded", function() {
Expand Down
4 changes: 2 additions & 2 deletions scripts/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function copyEmailToClipboard(email) {
}

// Set form action (mailto) from config.json
fetch('/config.json')
fetch('config.json')
.then(response => response.json())
.then(data => {
// Alert user if email key not found
Expand Down Expand Up @@ -156,7 +156,7 @@ fetch('/config.json')
});

// Fetching and populating form fields from config.json
fetch('/config.json')
fetch('config.json')
.then(response => {
// Alert user if config.json unreachable
if (!response.ok) {
Expand Down

0 comments on commit 8c99497

Please sign in to comment.