Skip to content

Commit 55d9527

Browse files
committed
Make a upload file route
1 parent 22563cc commit 55d9527

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Router/Router.php

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
// If you use SPACE in the url, it should convert the space to -, /home-index
66
$router->get('/home index', 'home@index');
77

8+
$router->post('/upload', 'home@uploadImage');
9+
810
$router->post('/home', 'home@post');
911

1012
$router->get('/', function() {

0 commit comments

Comments
 (0)