introducing SWARM_MODE env var

This commit is contained in:
bunkerity
2021-03-12 12:40:52 +01:00
parent 7756c2df3c
commit 816fa47cbb
6 changed files with 53 additions and 28 deletions

View File

@@ -1,5 +1,5 @@
local M = {}
local api_uri = "%API_URI%"
local api_uri = ngx.var.api_uri
local api_list = {}
api_list["^/reload$"] = function ()