Skip to content

Commit ca7494a

Browse files
save file
1 parent aad9ecd commit ca7494a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

blog/25-07-24/http-server/ex/login-server.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@
194194
</style>
195195
<form action='login' method=post>
196196
<h4>login</h4>
197+
<a href='home.html'>home</a>
197198
<div>
198199
<label for=name>name</label>
199200
<input name=name autocomplete=off spellcheck=false>
@@ -218,9 +219,6 @@
218219
<a href='home.html'>home</a>
219220
<a href='logout'>logout</a>
220221
</div>
221-
<script>
222-
console.log(document.cookie);
223-
</scr`+`ipt>
224222
`;
225223

226224
html.notfound = `

0 commit comments

Comments
 (0)