Clean up development a little bit -- when 'dev' is set to true, port 8001 is used

This commit is contained in:
Lucien Greathouse
2017-12-03 19:20:54 -08:00
parent 34d5de9f2c
commit d0c6f2a470
3 changed files with 6 additions and 3 deletions

View File

@@ -19,7 +19,7 @@ Plugin.__index = Plugin
function Plugin.new()
local address = "localhost"
local port = 8000
local port = Config.dev and 8001 or 8000
local remote = ("http://%s:%d"):format(address, port)