Skip to content

Commit 68d1dc9

Browse files
authored
Update server.js
1 parent da8f8ea commit 68d1dc9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/npm/server.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,16 +61,16 @@ app.get('/wiki/:title', (req, res) => {
6161
</head>
6262
<body>
6363
<div class="navbar">
64-
<a href="/index.html">Home</a>
65-
<a href="/Wiki/sitemaplinks.html">Create Wiki</a>
64+
<a href="https://scratch-coding-hut.github.io/index.html">Home</a>
65+
<a href="https://scratch-coding-hut.github.io/Wiki/sitemaplinks.html">Create Wiki</a>
6666
</div>
6767
<div class="wiki-content">
6868
<h2>${wiki.title}</h2>
6969
<p>${wiki.content}</p>
7070
<small>Author: ${wiki.owner}</small>
7171
<div class="button-container">
72-
<a href="/Wiki/edit?edit=${encodeURIComponent(wiki.title)}" class="edit-button">Edit Wiki</a>
73-
<a href="/Wiki/report.html" class="report-button">Report</a>
72+
<a href="scratch-coding-hut.github.io/Wiki/edit?edit=${encodeURIComponent(wiki.title)}" class="edit-button">Edit Wiki</a>
73+
<a href="scratch-coding-hut.github.io/Wiki/report.html?wiki=${encodeURIComponent(wiki.title)}" class="report-button">Report</a>
7474
</div>
7575
</div>
7676
</body>

0 commit comments

Comments
 (0)