Get GCSE module accepts /gcse or /gcse/ .
This commit is contained in:
@@ -45,9 +45,12 @@ feature -- Router
|
|||||||
|
|
||||||
setup_router (a_router: WSF_ROUTER; a_api: CMS_API)
|
setup_router (a_router: WSF_ROUTER; a_api: CMS_API)
|
||||||
-- Router configuration.
|
-- Router configuration.
|
||||||
|
local
|
||||||
|
m: WSF_URI_MAPPING
|
||||||
do
|
do
|
||||||
a_router.handle ("/gcse", create {WSF_URI_AGENT_HANDLER}.make (agent handle_search (a_api, ?, ?)), a_router.methods_head_get)
|
create m.make_trailing_slash_ignored ("/gcse", create {WSF_URI_AGENT_HANDLER}.make (agent handle_search (a_api, ?, ?)))
|
||||||
end
|
a_router.map (m, a_router.methods_head_get)
|
||||||
|
end
|
||||||
|
|
||||||
feature -- Recaptcha
|
feature -- Recaptcha
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user