Skip to content

Commit 2c8a297

Browse files
home route accept HEAD request
allow to send 200 in case of redirection to an existing page
1 parent e625030 commit 2c8a297

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/class/Routes.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ public function match(): void
3535
['DELETE', '/api/v0/media/[*:path]', 'Controllerapimedia#delete', 'apimediadelete'],
3636
['POST', '/api/v0/workspace', 'Controllerapiworkspace#update', 'apiworkspaceupdate'],
3737
['GET', '/', 'Controllerhome#desktop', 'home'],
38+
['HEAD', '/', 'Controllerhome#desktop', 'homehead'],
3839
['POST', '/', 'Controllerhome#desktop', 'homequery'],
3940
['POST', '/columns', 'Controllerhome#columns', 'homecolumns'],
4041
['POST', '/colors', 'Controllerhome#colors', 'homecolors'],

0 commit comments

Comments
 (0)