wip tests

This commit is contained in:
Sara Aimée Smiseth 2020-10-03 11:27:23 +02:00
parent d2065b426b
commit 1be1cc5bf7
9 changed files with 88 additions and 18 deletions

View file

@ -1,8 +1,10 @@
local stringy = require "stringy"
contact_info = {
abuse = { os.getenv("SERVER_CONTACT_INFO_ABUSE") };
admin = { os.getenv("SERVER_CONTACT_INFO_ADMIN") };
feedback = { os.getenv("SERVER_CONTACT_INFO_FEEDBACK") };
sales = { os.getenv("SERVER_CONTACT_INFO_SALES") };
security = { os.getenv("SERVER_CONTACT_INFO_SECURITY") };
support = { os.getenv("SERVER_CONTACT_INFO_SUPPORT") };
abuse = stringy.split(os.getenv("SERVER_CONTACT_INFO_ABUSE"), ", ");
admin = stringy.split(os.getenv("SERVER_CONTACT_INFO_ADMIN"), ", ");
feedback = stringy.split(os.getenv("SERVER_CONTACT_INFO_FEEDBACK"), ", ");
sales = stringy.split(os.getenv("SERVER_CONTACT_INFO_SALES"), ", ");
security = stringy.split(os.getenv("SERVER_CONTACT_INFO_SECURITY"), ", ");
support = stringy.split(os.getenv("SERVER_CONTACT_INFO_SUPPORT"), ", ");
}