Skip to content

Commit 87c0502

Browse files
authored
Update edit.html
1 parent 46d52d6 commit 87c0502

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Wiki/edit.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ <h2>Edit Wiki Post</h2>
161161

162162
if (response.ok) {
163163
alert('Wiki updated successfully!');
164-
window.location.href = 'index.html'; // Redirect back to the main page after saving
164+
window.location.href = 'Wiki/wiki'; // Redirect back to the main page after saving
165165
} else {
166166
alert('Failed to update wiki!');
167167
}

0 commit comments

Comments
 (0)