mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-07 22:21:47 +00:00
fixed wrong definition of --route option
This commit is contained in:
@@ -315,7 +315,7 @@ static struct uwsgi_option uwsgi_base_options[] = {
|
||||
{"vhost", no_argument, 0, "enable virtualhosting mode (based on SERVER_NAME variable)", uwsgi_opt_true, &uwsgi.vhost, 0},
|
||||
{"vhost-host", no_argument, 0, "enable virtualhosting mode (based on HTTP_HOST variable)", uwsgi_opt_true, &uwsgi.vhost_host, UWSGI_OPT_VHOST},
|
||||
#ifdef UWSGI_ROUTING
|
||||
{"route", no_argument, 0, "add a route", uwsgi_opt_add_route, NULL, 0},
|
||||
{"route", required_argument, 0, "add a route", uwsgi_opt_add_route, NULL, 0},
|
||||
#endif
|
||||
{"add-header", required_argument, 0, "automatically add HTTP headers to response", uwsgi_opt_add_string_list, &uwsgi.additional_headers, 0},
|
||||
{"check-static", required_argument, 0, "check for static files in the specified directory", uwsgi_opt_check_static, NULL, 0},
|
||||
|
||||
Reference in New Issue
Block a user