Updated desktop_app example with embedded standalone web server.
This commit is contained in:
@@ -28,7 +28,10 @@ feature {NONE} -- Execution
|
||||
if local_connection_restriction_enabled then
|
||||
if
|
||||
attached request.remote_addr as l_remote_addr and then
|
||||
(
|
||||
l_remote_addr.is_case_insensitive_equal_general ("127.0.0.1")
|
||||
or else l_remote_addr.is_case_insensitive_equal_general ("localhost")
|
||||
)
|
||||
then
|
||||
execute
|
||||
else
|
||||
|
||||
@@ -26,7 +26,6 @@ feature -- Execution
|
||||
opts: WSF_SERVICE_LAUNCHER_OPTIONS
|
||||
do
|
||||
create opts.default_create
|
||||
opts.set_verbose (True)
|
||||
opts.set_option ("port", port_number)
|
||||
create launcher.make (opts)
|
||||
observer := launcher.connector.observer
|
||||
|
||||
Reference in New Issue
Block a user