mirror of
https://github.com/zebrajr/express.git
synced 2025-12-06 12:19:51 +01:00
Multipart typo
This commit is contained in:
parent
fd4c88d202
commit
8b5773c246
|
|
@ -15,7 +15,7 @@ var app = express.createServer(
|
|||
);
|
||||
|
||||
app.get('/', function(req, res){
|
||||
res.send('<form method="post" enctype="form-data/multipart">'
|
||||
res.send('<form method="post" enctype="multipart/form-data">'
|
||||
+ '<p>Image: <input type="file" name="image" /></p>'
|
||||
+ '<p><input type="submit" value="Upload" /></p>'
|
||||
+ '</form>');
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user