Skip to content

Commit

Permalink
plugins: web_api: Respect ::plugins::web_api::settings(webserver_port)
Browse files Browse the repository at this point in the history
Use the settings value instead of being hard-coded to 8080

Signed-Off-By: Jeff Kletsky <[email protected]>
  • Loading branch information
jeffsf authored and Mimoja committed Apr 16, 2021
1 parent 871cb4e commit 6f1cd24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion de1plus/plugins/web_api/plugin.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ namespace eval ::plugins::${plugin_name} {
# Start a server and enter the event loop if not already there.

catch {
::wibble::listen 8080
::wibble::listen $::plugins::web_api::settings(webserver_port)
}

} ;# main
Expand Down

0 comments on commit 6f1cd24

Please sign in to comment.